HM-48. Внедрена система тестирования jest (#17)
This commit is contained in:
@ -2,13 +2,11 @@
|
||||
"parser": "babel-eslint",
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2020": true
|
||||
"es2020": true,
|
||||
"jest/globals": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:import/errors",
|
||||
"plugin:import/warnings"
|
||||
],
|
||||
"extends": ["eslint:recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:jest/recommended"],
|
||||
"plugins": ["jest"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 11,
|
||||
"sourceType": "module"
|
||||
@ -72,17 +70,17 @@
|
||||
"multiline-comment-style": ["warn", "starred-block"],
|
||||
"new-cap": "warn",
|
||||
"new-parens": "warn",
|
||||
"newline-per-chained-call": ["warn", { "ignoreChainWithDepth": 1 }],
|
||||
"newline-per-chained-call": ["warn", {"ignoreChainWithDepth": 1}],
|
||||
"no-bitwise": "warn",
|
||||
"no-inline-comments": "warn",
|
||||
"no-lonely-if": "warn",
|
||||
"no-multi-assign": "warn",
|
||||
"no-multiple-empty-lines": ["warn", { "max": 1}],
|
||||
"no-multiple-empty-lines": ["warn", {"max": 1}],
|
||||
"no-nested-ternary": "warn",
|
||||
"no-plusplus": "warn",
|
||||
"object-curly-spacing": ["warn", "never"],
|
||||
"object-property-newline": ["warn", { "allowAllPropertiesOnSameLine": true }],
|
||||
"key-spacing": ["warn", { "beforeColon": false, "afterColon": true }],
|
||||
"object-property-newline": ["warn", {"allowAllPropertiesOnSameLine": true}],
|
||||
"key-spacing": ["warn", {"beforeColon": false, "afterColon": true}],
|
||||
"space-before-blocks": "warn",
|
||||
"space-before-function-paren": ["warn", "always"],
|
||||
"space-in-parens": ["warn", "never"],
|
||||
|
||||
Reference in New Issue
Block a user