eslint-config-lessmess
v0.0.1
Published
ESLint config for Lessmess projects
Downloads
18
Readme
lessmess-eslint-config
Shared eslint config for Lessmess projects
Usage
For ES5 libs
Install peer dependencies via npx (npm 5+)
npx install-peerdeps --dev lessmess-eslint-config
or
yarn add --dev lessmess-eslint-config eslint-config-standard eslint-plugin-promise eslint-plugin-node eslint-plugin-es5 eslint-plugin-standard eslint-plugin-security eslint-plugin-import eslint-plugin-import-helpers eslint
Modify your .eslintrc:
{
"extends": "lessmess-eslint-config/lib"
}
For React Hooks
Install:
yarn add --dev lessmess-eslint-config eslint-plugin-react-hooks
Modify your .eslintrc:
{
"extends": "lessmess-eslint-config/react-hooks"
}