eslint-config 2.0.0
Install from the command line:
Learn more about npm packages
$ npm install @feedbackfruits/eslint-config@2.0.0
Install via package.json:
"@feedbackfruits/eslint-config": "2.0.0"
About this version
Shared eslint config for all Node.js/Typescript-based projects
[!IMPORTANT] eslint-config now requires yarn v4+, make sure to upgrade your local yarn by following these steps: https://yarnpkg.com/getting-started/install
Usage:
yarn add -DE @feedbackfruits/eslint-config
Flat config: eslint.config.mjs
import feedbackfruits from '@feedbackfruits/eslint-config';
export default [
...feedbackfruits
];
Legacy config: .eslintrc.json
{
"extends": "@feedbackfruits"
}
Any rules or extra environments can be overriden by adding the config keys as usual:
Flat config: eslint.config.mjs
import feedbackfruits from '@feedbackfruits/eslint-config';
export default [
...feedbackfruits,
{
rules: {
'no-console': 'off'
}
}
];
Legacy config: .eslintrc.json
{
"extends": "@feedbackfruits",
"rules": {
"no-console": "off"
}
}
Details
- eslint-config
-
feedbackfruits
- 4 months ago
- UNLICENSED
- 16 dependencies
Assets
- eslint-config-2.0.0.tgz
Download activity
- Total downloads 0
- Last 30 days 0
- Last week 0
- Today 0