@smart-gate/eslint-config-smartgate
v1.0.8
Published
ESLint shareable config for the Smart Gate CO. projects style guide.
Downloads
42
Maintainers
Readme
eslint-config-smartgate
ESLint shareable config for the Smart Gate Co. projects.
Installation
npm install --save-dev @smart-gate/eslint-config-smartgate
Usage
add .eslint.cjs
then extend our configs (ESLint v8):
modules.exports = {
extends: ['@smart-gate/eslint-config-smartgate'],
};
- next add the following script in your package json scripts:
{
"scripts": {
"lint": "eslint . --fix --ignore-path .gitignore"
}
}
- By now, you should be able to run this script in your terminal:
npm run lint
[!WARNING] Note
- While creating a brand new project with this command
npm create vue@latest
make sure to say no for code quality option.- This package does not support latest eslint version (flat config object). we are still using
cjs
until vue eslint packages will be updated as well.- In order to avoid installation conflicts just uninstall the following packages in your
package.json
.eslint
,@vue/eslint-config-typescript
,eslint-config-google
,eslint-plugin-import
,eslint-plugin-vue
.
License
This project is licensed under the MIT License. See the LICENSE file for details.