eslint-config-planes
v3.3.0
Published
Eslint config for use across all Planes projects
Downloads
1,056
Readme
eslint-config-planes
Install
npx install-peerdeps eslint-config-planes -Y -d
# Optional - install prettier config
yarn add -D prettier-config-planes
Then create an .eslintrc
or update your package.json
with an
"eslintConfig"
key, and add the following:
For React:
// package.json
"eslintConfig": {"extends": "eslint-config-planes"}
"prettier": "prettier-config-planes"
// .eslintrc
{"extends": "eslint-config-planes"}
For Node:
// package.json
"eslintConfig": {"extends": "eslint-config-planes/node"}
"prettier": "prettier-config-planes"
// .eslintrc
{"extends": "eslint-config-planes/node"}