easy-linter is a layer on top of eslint. easy-linter has eslint rules defined in advance and is a ready to use package with minimum effort. This package can be used by teams that are working on multiple projects and want centralized repository of eslint rules.
easy-linter uses a number of open source projects to work properly:
And of course easy-linter itself is open source with a public repository on GitHub.
easy-linter requires Node.js to run.
Install the dependencies and devDependencies and start the server.
$ npm i easy-linter
Create a file named .eslintrc.json
file project in root directory of the project
add the following json object.
{
"extends": "./node_modules/easy-linter/index.js"
}
You can create .eslintignore
file in root directory of the project to ignore directory/files from linting rules.