kopia lustrzana https://github.com/drastus/sejm-calculator
49 wiersze
1012 B
JSON
49 wiersze
1012 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module"
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": {
|
|
"extensions": [".js", ".ts"]
|
|
}
|
|
}
|
|
},
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": "airbnb-base",
|
|
"rules": {
|
|
"indent": ["error", "tab"],
|
|
"no-tabs": "off",
|
|
"object-curly-spacing": ["error", "never"],
|
|
"no-param-reassign": ["error", {"props": false}],
|
|
"import/extensions": ["error", "ignorePackages", {
|
|
"js": "never",
|
|
"ts": "never"
|
|
}]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"rules": {
|
|
"indent": "off",
|
|
"max-len": [2, 120],
|
|
"@typescript-eslint/indent": ["error", "tab"],
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|