@imperium/eslint-config-imperium
v9.0.0
Published
ESLint dependencies
Downloads
11
Readme
@imperium/eslint-config-imperium
You can use Imperium's specialized Eslint configuration in your own projects.
Usage
Install the preset.
# yarn add eslint @imperium/eslint-config-imperium -D
Create a .eslintrc.js
file with the following:
module.exports = {extends: ['@imperium/eslint-config-imperium']};
In your package.json
file you can run the script:
{
"scripts": {
"lint": "eslint --cache --ext js,ts,tsx src"
}
}