https://github.com/ldez/atom-language-ignore
Syntax highlighting for 'ignore' files : gitignore, npmignore, dockerignore, coffeelintignore, ...
https://github.com/ldez/atom-language-ignore
atom gitignore ignore-files syntax-highlighting
Last synced: 21 days ago
JSON representation
Syntax highlighting for 'ignore' files : gitignore, npmignore, dockerignore, coffeelintignore, ...
- Host: GitHub
- URL: https://github.com/ldez/atom-language-ignore
- Owner: ldez
- License: mit
- Created: 2016-04-23T14:43:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-06T19:31:23.000Z (5 months ago)
- Last Synced: 2025-04-01T01:51:06.567Z (2 months ago)
- Topics: atom, gitignore, ignore-files, syntax-highlighting
- Language: CoffeeScript
- Homepage: https://atom.io/packages/language-ignore
- Size: 61.5 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Ignore files Package for Pulsar/Atom
[](https://ci.appveyor.com/project/ldez/atom-language-ignore)
[](https://github.com/ldez/atom-language-ignore/blob/master/LICENSE.md)[](https://web.pulsar-edit.dev/packages/language-ignore)
Adds syntax highlighting to 'ignore' files.

## Supported files
- `.gitignore`: references [gitignore](https://git-scm.com/docs/gitignore) and [Ignoring-Files](https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#Ignoring-Files)
- `.npmignore`: works just like a `.gitignore` [references](https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package)
- `.dockerignore` : works just like a `.gitignore` [references](https://docs.docker.com/engine/reference/builder/#dockerignore-file)
- `.coffeelintignore`: works just like a `.gitignore`.
- `.slugignore`: does not support negated `!` patterns. [Heroku - Slug Compiler](https://devcenter.heroku.com/articles/slug-compiler#ignoring-files-with-slugignore)
- `.atomignore`: works just like a `.gitignore`. [tree-ignore](https://atom.io/packages/tree-ignore)
- `.hgignore`: references [hgignore](https://www.mercurial-scm.org/wiki/.hgignore) (currently only glop patterns)
- `.vscodeignore`: works just like a `.gitignore` [references](https://code.visualstudio.com/docs/tools/vscecli#_advance-usage)
- `.eslintignore`: works just like a `.gitignore` [references](https://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories)
- `.prettierignore`: works just like a `.gitignore` [references](https://prettier.io/docs/en/ignore.html#ignoring-files)
- `.gcloudignore` : supports importing other `.gitignore` style files [references](https://cloud.google.com/sdk/gcloud/reference/topic/gcloudignore)## Install
Settings/Preferences > Install > Search for `language-ignore`
Or
```bash
pulsar -p install language-ignore
```## Troubleshooting
If you have problem with the `.dockerignore` files:
- In your Pulsar configuration: `Edit` > `Config...`
- Add the following lines in the `[core]` section:
```coffee
customFileTypes:
"text.ignore": [
".dockerignore"
]
```Example:
```coffee
"*":
core:
customFileTypes:
"text.ignore": [
".dockerignore"
]
```