ESLint shareable config used in my projets
At current stage it experimentally derives from eslint:all
.
$ npm install --save-dev eslint eslint-config-medikoo
Add eslintConfig
to package.json:
Following expresses configuration variant for environment agnostic ES2022+ projects:
"eslintConfig": {
"extends": "medikoo",
"root": true
}
For more specific needs, use other config variants:
medikoo/es5
- environment agnostic ES5+ projectsmedikoo/es3
- environment agnostic ES3+ projectsmedikoo/node
- Node.js v10+ projectsmedikoo/node/16
- Node.js v16+ projectsmedikoo/node/14
- Node.js v14+ projectsmedikoo/node/12
- Node.js v12+ projectsmedikoo/node/8
- Node.js v8+ projectsmedikoo/node/6
- Node.js v6+ projectsmedikoo/node/es5
- Node.js ES5+ projects