@lzear/eslint-config
v2.1.0
Published
ESLint shareable config
Downloads
10
Maintainers
Readme
@lzear/eslint-config
Shareable ESLint config for JavaScript projects.
See docs for a list of all rules.
Installation
- Install package:
yarn add --save-dev eslint @lzear/eslint-config eslint-plugin-import eslint-plugin-n eslint-plugin-node-import eslint-plugin-prefer-arrow eslint-plugin-promise eslint-plugin-sonarjs eslint-plugin-unicorn
- Create ESLint configuration file
eslint.config.js
:
import eslintConfig from '@lzear/eslint-config'
export default eslintConfig
- Add script for package.json:
{
"scripts": {
"lint": "eslint .",
}
}