eslint-config
/
1.9.12
eslint-config 1.9.12
Install from the command line:
Learn more about npm packages
$ npm install @sisense/eslint-config@1.9.12
Install via package.json:
"@sisense/eslint-config": "1.9.12"
About this version
Shared Eslint Configs for sisense projects
The module should be installed together with its peer dependencies, that consist of eslint, prettier and typescript.
# install via npm
$ npm install --save-dev eslint prettier typescript @sisense/eslint-config
# install via yarn
$ yarn add --dev eslint prettier typescript @sisense/eslint-config
It is also suggested to use @sisense/prettier-config
together with this configuration.
For using this config for javascript project it is suggested to use next configuration (.eslintrc.json
):
{
"root": true,
"extends": ["@sisense/eslint-config"]
}
For using this config for typescript project it is suggested to use next configuration (.eslintrc.json
):
{
"root": true,
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
},
"extends": ["@sisense/eslint-config/typescript"]
}
For disabling rules that cannot be fixed automatically this config is packaged with eslint-scripts
binary:
# runs "eslint --fix" after what disables failures
npx eslint-scripts disable-failures .
Details
- eslint-config
- sisense
- over 1 year ago
- UNLICENSED
- 29 dependencies
Assets
- eslint-config-1.9.12.tgz
Download activity
- Total downloads 6,279
- Last 30 days 0
- Last week 0
- Today 0