1.2.4 • Published 3 years ago
@rm-frontend/eslint-config v1.2.4
rm-frontend ESLint config
Installation
npm install --save-dev eslint @rm-frontend/eslint-config
Usage
Create a .eslintrc.js
config file:
module.exports = {
extends: '@rm-frontend/eslint-config'
};
If you use this in an instance, create a .eslintignore
file to ignore build files:
dist/*
Add a script to your package.json
to run eslint:
{
"scripts": {
"eslint": "eslint \"**/*.js\""
}
}