Brackets extension which provides file linting with ESLint.
Uses CLIEngine from https://www.npmjs.com/package/eslint which should provide same results as linting in the command line (respecting all .eslintrc files)
Includes support for custom parsers and plugins.
Use standard .eslintrc
file like this one
Move them to .eslintrules
folder in your project root like you can see in this repo.
Extension tries to use plugins installed in the current project and if not found, fallbacks to globally installed ones.
npm install --global eslint-plugin-react
To disable the both warning and error icons in the gutter you can configure the brackets.json
as followed:
{
"brackets-eslint.gutterMarks": false
}
or only disable warnings icons:
{
"brackets-eslint.gutterMarks": { "warning" : false}
}