eslint-config-nevermined
v0.3.0
Published
Nevermined linter
Downloads
825
Readme
Nevermined linter
Linter configuration made by Nevermined team
How to use Nevermined linter
- Install the
Nevermined Linter
and dependencies
npm install --save-dev eslint eslint-config-nevermined eslint-config-next eslint-config-prettier eslint-plugin-import prettier prettier-package-json @typescript-eslint/eslint-plugin @typescript-eslint/parser
- Create
.eslintrc.json
file
{
"extends": [
"nevermined"
]
}
- Create
prettier.config.js
file (optional)
module.exports = {
...require('eslint-config-nevermined/prettier.config'),
};
- Create
.eslintignore
file
node_modules
- Add the script in
package.json
{
"scripts": {
"lint": "eslint ./"
},
}
- Run the linter
npm run lint