eslint-config 0.0.3
Install from the command line:
Learn more about npm packages
$ npm install @greenroom-robotics/eslint-config@0.0.3
Install via package.json:
"@greenroom-robotics/eslint-config": "0.0.3"
About this version
Some opinionated style & type rules built on top of eslint-config-standard-typescript-prettier
See ./.eslintrc.js
Install it.
pnpm add -D @greenroom-robotics/eslint-config
Wire it up.
echo "module.exports = require('@greenroom-robotics/eslint-config')" > .eslintrc.js
# OR with react rules...
echo "module.exports = require('@greenroom-robotics/eslint-config/.eslintrc.react')" > .eslintrc.js
Configure .prettierrc.js
with something like:
module.exports = {
...require('@greenroom-robotics/eslint-config/.prettierrc'),
semi: false,
}
Done.
Thanks to require('@rushstack/eslint-patch/modern-module-resolution');
, plugins can be included relative to the configs, not the consuming project, so you don't need to install any eslint plugins/config peer dependencies.
Details
- eslint-config
- Greenroom-Robotics
- 8 months ago
- MIT
- 19 dependencies
Assets
- eslint-config-0.0.3.tgz
Download activity
- Total downloads 1
- Last 30 days 0
- Last week 0
- Today 0