kopia lustrzana https://github.com/drastus/sejm-calculator
37 wiersze
867 B
JSON
37 wiersze
867 B
JSON
{
|
|
"env": {
|
|
"es6": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {"project": ["./tsconfig.json"]},
|
|
"plugins": ["@typescript-eslint"],
|
|
"extends": [
|
|
"xo/browser",
|
|
"xo-typescript"
|
|
],
|
|
"rules": {
|
|
"arrow-parens": ["error", "always"],
|
|
"curly": ["error", "multi-line"],
|
|
"padding-line-between-statements": "off",
|
|
"object-shorthand": ["error", "properties"],
|
|
"@typescript-eslint/ban-types": ["error", {"extendDefaults": true}],
|
|
"@typescript-eslint/member-delimiter-style": ["error", {
|
|
"multiline": {
|
|
"delimiter": "comma",
|
|
"requireLast": true
|
|
},
|
|
"singleline": {
|
|
"delimiter": "comma",
|
|
"requireLast": false
|
|
}
|
|
}],
|
|
"@typescript-eslint/padding-line-between-statements": "off"
|
|
},
|
|
"overrides": [{
|
|
"files": ["test/*.ts"],
|
|
"rules": {
|
|
"@typescript-eslint/no-confusing-void-expression": "off"
|
|
}
|
|
}]
|
|
}
|