2018-08-26 11:30:20 +03:00
|
|
|
{
|
2020-09-06 10:32:16 +03:00
|
|
|
"extends": [
|
|
|
|
"@shlinkio/js-coding-standard"
|
|
|
|
],
|
2018-08-26 11:30:20 +03:00
|
|
|
"plugins": ["jest"],
|
|
|
|
"env": {
|
|
|
|
"jest/globals": true
|
|
|
|
},
|
2020-08-22 09:06:41 +03:00
|
|
|
"parserOptions": {
|
|
|
|
"tsconfigRootDir": ".",
|
|
|
|
"createDefaultProgram": true
|
|
|
|
},
|
2018-08-26 11:30:20 +03:00
|
|
|
"globals": {
|
|
|
|
"process": true,
|
|
|
|
"setImmediate": true
|
|
|
|
},
|
2020-09-06 10:32:16 +03:00
|
|
|
"rules": {
|
|
|
|
"max-len": ["error", {
|
|
|
|
"code": 120,
|
|
|
|
"ignoreStrings": true,
|
|
|
|
"ignoreTemplateLiterals": true,
|
|
|
|
"ignoreComments": true
|
|
|
|
}],
|
|
|
|
"no-mixed-operators": "off",
|
2021-02-27 22:03:51 +03:00
|
|
|
"object-shorthand": "off",
|
2020-09-06 10:32:16 +03:00
|
|
|
"react/display-name": "off",
|
2020-11-14 00:44:26 +03:00
|
|
|
"react/react-in-jsx-scope": "off",
|
2021-02-28 13:13:07 +03:00
|
|
|
"@typescript-eslint/no-extraneous-class": "off",
|
2020-09-06 10:32:16 +03:00
|
|
|
"@typescript-eslint/require-array-sort-compare": "off"
|
|
|
|
}
|
2018-08-26 11:30:20 +03:00
|
|
|
}
|