Compare commits
47 Commits
Author | SHA1 | Date | |
---|---|---|---|
0a76f652a9
|
|||
75f7453fb1
|
|||
db71e72427
|
|||
487b390fd3
|
|||
32dd591751
|
|||
1f204d1b8d
|
|||
b4225e3424
|
|||
dfac7f5138
|
|||
0b14a22716
|
|||
b9cabcb54b
|
|||
18c9632298
|
|||
ff60ccfbd9
|
|||
3467c5b216
|
|||
ca6f51b665
|
|||
dbccc60825
|
|||
4aeb8473fa
|
|||
5e92aa597a
|
|||
79d28d317b
|
|||
50fd33ae97
|
|||
9ea945c950
|
|||
99f00817e0
|
|||
621602e88b
|
|||
f8b812927a
|
|||
2131004cc8
|
|||
93b869a963
|
|||
c1dc196903
|
|||
f448b3ca98
|
|||
e0b6ba13a1
|
|||
1fb28ac1a6
|
|||
67756a276d
|
|||
04e0fe6a31
|
|||
3f111c5b78
|
|||
9dd76a6ab4
|
|||
fee0f21f2f
|
|||
f8e6286350
|
|||
5c7fa64f19
|
|||
e87fbc4bb9
|
|||
bbf940aafe
|
|||
7adf510a94
|
|||
a2f1c52972
|
|||
98f096b481
|
|||
937a2257f8
|
|||
0419c2558d
|
|||
b00af86b1b
|
|||
72b09d4176
|
|||
e7da809741
|
|||
39cc9c02d9
|
58
ROADMAP.md
58
ROADMAP.md
@ -53,7 +53,7 @@
|
|||||||
- [X] "indent"
|
- [X] "indent"
|
||||||
- [X] "indent-legacy"
|
- [X] "indent-legacy"
|
||||||
- [ ] "init-declarations"
|
- [ ] "init-declarations"
|
||||||
- [ ] "jsx-quotes"
|
- [X] "jsx-quotes"
|
||||||
- [X] "key-spacing"
|
- [X] "key-spacing"
|
||||||
- [X] "keyword-spacing"
|
- [X] "keyword-spacing"
|
||||||
- [ ] "line-comment-position"
|
- [ ] "line-comment-position"
|
||||||
@ -69,7 +69,7 @@
|
|||||||
- [ ] "max-nested-callbacks"
|
- [ ] "max-nested-callbacks"
|
||||||
- [ ] "max-params"
|
- [ ] "max-params"
|
||||||
- [X] "max-statements"
|
- [X] "max-statements"
|
||||||
- [ ] "max-statements-per-line"
|
- [X] "max-statements-per-line"
|
||||||
- [X] "multiline-comment-style"
|
- [X] "multiline-comment-style"
|
||||||
- [ ] "multiline-ternary"
|
- [ ] "multiline-ternary"
|
||||||
- [X] "new-cap"
|
- [X] "new-cap"
|
||||||
@ -163,7 +163,7 @@
|
|||||||
- [ ] "no-param-reassign"
|
- [ ] "no-param-reassign"
|
||||||
- [X] "no-path-concat"
|
- [X] "no-path-concat"
|
||||||
- [ ] "no-plusplus"
|
- [ ] "no-plusplus"
|
||||||
- [ ] "no-process-env"
|
- [X] "no-process-env"
|
||||||
- [ ] "no-process-exit"
|
- [ ] "no-process-exit"
|
||||||
- [X] "no-proto"
|
- [X] "no-proto"
|
||||||
- [ ] "no-prototype-builtins"
|
- [ ] "no-prototype-builtins"
|
||||||
@ -192,7 +192,7 @@
|
|||||||
- [X] "no-ternary"
|
- [X] "no-ternary"
|
||||||
- [ ] "no-this-before-super"
|
- [ ] "no-this-before-super"
|
||||||
- [ ] "no-throw-literal"
|
- [ ] "no-throw-literal"
|
||||||
- [ ] "no-trailing-spaces"
|
- [X] "no-trailing-spaces"
|
||||||
- [ ] "no-undef"
|
- [ ] "no-undef"
|
||||||
- [X] "no-undef-init"
|
- [X] "no-undef-init"
|
||||||
- [X] "no-undefined"
|
- [X] "no-undefined"
|
||||||
@ -219,7 +219,7 @@
|
|||||||
- [X] "no-var"
|
- [X] "no-var"
|
||||||
- [ ] "no-void"
|
- [ ] "no-void"
|
||||||
- [ ] "no-warning-comments"
|
- [ ] "no-warning-comments"
|
||||||
- [ ] "no-whitespace-before-property"
|
- [X] "no-whitespace-before-property"
|
||||||
- [X] "no-with"
|
- [X] "no-with"
|
||||||
- [ ] "nonblock-statement-body-position"
|
- [ ] "nonblock-statement-body-position"
|
||||||
- [X] "object-curly-newline"
|
- [X] "object-curly-newline"
|
||||||
@ -263,7 +263,7 @@
|
|||||||
- [X] "space-before-blocks"
|
- [X] "space-before-blocks"
|
||||||
- [X] "space-before-function-paren"
|
- [X] "space-before-function-paren"
|
||||||
- [ ] "space-in-parens"
|
- [ ] "space-in-parens"
|
||||||
- [ ] "space-infix-ops"
|
- [X] "space-infix-ops"
|
||||||
- [ ] "space-unary-ops"
|
- [ ] "space-unary-ops"
|
||||||
- [ ] "spaced-comment"
|
- [ ] "spaced-comment"
|
||||||
- [X] "strict"
|
- [X] "strict"
|
||||||
@ -283,14 +283,14 @@
|
|||||||
|
|
||||||
## ESLint Comments
|
## ESLint Comments
|
||||||
|
|
||||||
- [ ] "disable-enable-pair"
|
- [X] "disable-enable-pair"
|
||||||
- [ ] "no-aggregating-enable"
|
- [X] "no-aggregating-enable"
|
||||||
- [ ] "no-duplicate-disable"
|
- [X] "no-duplicate-disable"
|
||||||
- [ ] "no-restricted-disable"
|
- [X] "no-restricted-disable"
|
||||||
- [ ] "no-unlimited-disable"
|
- [X] "no-unlimited-disable"
|
||||||
- [ ] "no-unused-disable"
|
- [X] "no-unused-disable"
|
||||||
- [ ] "no-unused-enable"
|
- [X] "no-unused-enable"
|
||||||
- [ ] "no-use"
|
- [X] "no-use"
|
||||||
|
|
||||||
## Import
|
## Import
|
||||||
|
|
||||||
@ -390,12 +390,12 @@
|
|||||||
- [ ] "brace-style"
|
- [ ] "brace-style"
|
||||||
- [ ] "camelcase"
|
- [ ] "camelcase"
|
||||||
- [ ] "class-name-casing"
|
- [ ] "class-name-casing"
|
||||||
- [ ] "comma-spacing"
|
- [X] "comma-spacing"
|
||||||
- [ ] "consistent-type-assertions"
|
- [ ] "consistent-type-assertions"
|
||||||
- [ ] "consistent-type-definitions"
|
- [ ] "consistent-type-definitions"
|
||||||
- [ ] "default-param-last"
|
- [ ] "default-param-last"
|
||||||
- [ ] "explicit-function-return-type"
|
- [X] "explicit-function-return-type"
|
||||||
- [ ] "explicit-member-accessibility"
|
- [X] "explicit-member-accessibility"
|
||||||
- [ ] "explicit-module-boundary-types"
|
- [ ] "explicit-module-boundary-types"
|
||||||
- [ ] "func-call-spacing"
|
- [ ] "func-call-spacing"
|
||||||
- [ ] "generic-type-naming"
|
- [ ] "generic-type-naming"
|
||||||
@ -413,7 +413,7 @@
|
|||||||
- [X] "no-explicit-any"
|
- [X] "no-explicit-any"
|
||||||
- [ ] "no-extra-non-null-assertion"
|
- [ ] "no-extra-non-null-assertion"
|
||||||
- [ ] "no-extra-parens"
|
- [ ] "no-extra-parens"
|
||||||
- [ ] "no-extra-semi"
|
- [X] "no-extra-semi"
|
||||||
- [ ] "no-extraneous-class"
|
- [ ] "no-extraneous-class"
|
||||||
- [ ] "no-floating-promises"
|
- [ ] "no-floating-promises"
|
||||||
- [ ] "no-for-in-array"
|
- [ ] "no-for-in-array"
|
||||||
@ -421,7 +421,7 @@
|
|||||||
- [X] "no-inferrable-types"
|
- [X] "no-inferrable-types"
|
||||||
- [X] "no-magic-numbers"
|
- [X] "no-magic-numbers"
|
||||||
- [ ] "no-misused-new"
|
- [ ] "no-misused-new"
|
||||||
- [ ] "no-misused-promises"
|
- [X] "no-misused-promises"
|
||||||
- [X] "no-namespace"
|
- [X] "no-namespace"
|
||||||
- [ ] "no-non-null-asserted-optional-chain"
|
- [ ] "no-non-null-asserted-optional-chain"
|
||||||
- [ ] "no-non-null-assertion"
|
- [ ] "no-non-null-assertion"
|
||||||
@ -429,7 +429,7 @@
|
|||||||
- [ ] "no-require-imports"
|
- [ ] "no-require-imports"
|
||||||
- [ ] "no-this-alias"
|
- [ ] "no-this-alias"
|
||||||
- [ ] "no-throw-literal"
|
- [ ] "no-throw-literal"
|
||||||
- [ ] "no-type-alias"
|
- [X] "no-type-alias"
|
||||||
- [ ] "no-unnecessary-boolean-literal-compare"
|
- [ ] "no-unnecessary-boolean-literal-compare"
|
||||||
- [ ] "no-unnecessary-condition"
|
- [ ] "no-unnecessary-condition"
|
||||||
- [ ] "no-unnecessary-qualifier"
|
- [ ] "no-unnecessary-qualifier"
|
||||||
@ -460,7 +460,7 @@
|
|||||||
- [ ] "restrict-template-expressions"
|
- [ ] "restrict-template-expressions"
|
||||||
- [ ] "return-await"
|
- [ ] "return-await"
|
||||||
- [X] "semi"
|
- [X] "semi"
|
||||||
- [ ] "space-before-function-paren"
|
- [X] "space-before-function-paren"
|
||||||
- [X] "strict-boolean-expressions"
|
- [X] "strict-boolean-expressions"
|
||||||
- [ ] "switch-exhaustiveness-check"
|
- [ ] "switch-exhaustiveness-check"
|
||||||
- [ ] "triple-slash-reference"
|
- [ ] "triple-slash-reference"
|
||||||
@ -479,12 +479,12 @@
|
|||||||
- [ ] "escape-case"
|
- [ ] "escape-case"
|
||||||
- [ ] "expiring-todo-comments"
|
- [ ] "expiring-todo-comments"
|
||||||
- [ ] "explicit-length-check"
|
- [ ] "explicit-length-check"
|
||||||
- [ ] "filename-case"
|
- [X] "filename-case"
|
||||||
- [ ] "import-index"
|
- [ ] "import-index"
|
||||||
- [ ] "new-for-builtins"
|
- [ ] "new-for-builtins"
|
||||||
- [ ] "no-abusive-eslint-disable"
|
- [ ] "no-abusive-eslint-disable"
|
||||||
- [ ] "no-array-instanceof"
|
- [ ] "no-array-instanceof"
|
||||||
- [ ] "no-console-spaces"
|
- [X] "no-console-spaces"
|
||||||
- [ ] "no-fn-reference-in-iterator"
|
- [ ] "no-fn-reference-in-iterator"
|
||||||
- [ ] "no-for-loop"
|
- [ ] "no-for-loop"
|
||||||
- [ ] "no-hex-escape"
|
- [ ] "no-hex-escape"
|
||||||
@ -516,7 +516,7 @@
|
|||||||
- [ ] "prefer-text-content"
|
- [ ] "prefer-text-content"
|
||||||
- [ ] "prefer-trim-start-end"
|
- [ ] "prefer-trim-start-end"
|
||||||
- [ ] "prefer-type-error"
|
- [ ] "prefer-type-error"
|
||||||
- [ ] "prevent-abbreviations"
|
- [X] "prevent-abbreviations"
|
||||||
- [ ] "regex-shorthand"
|
- [ ] "regex-shorthand"
|
||||||
- [ ] "throw-new-error"
|
- [ ] "throw-new-error"
|
||||||
|
|
||||||
@ -529,7 +529,7 @@
|
|||||||
- [ ] "block-spacing"
|
- [ ] "block-spacing"
|
||||||
- [ ] "brace-style"
|
- [ ] "brace-style"
|
||||||
- [ ] "camelcase"
|
- [ ] "camelcase"
|
||||||
- [ ] "comma-dangle"
|
- [X] "comma-dangle"
|
||||||
- [ ] "comment-directive"
|
- [ ] "comment-directive"
|
||||||
- [ ] "component-definition-name-casing"
|
- [ ] "component-definition-name-casing"
|
||||||
- [ ] "component-name-in-template-casing"
|
- [ ] "component-name-in-template-casing"
|
||||||
@ -575,11 +575,12 @@
|
|||||||
- [ ] "no-textarea-mustache"
|
- [ ] "no-textarea-mustache"
|
||||||
- [ ] "no-unsupported-features"
|
- [ ] "no-unsupported-features"
|
||||||
- [ ] "no-unused-components"
|
- [ ] "no-unused-components"
|
||||||
- [ ] "no-unused-vars"
|
- [X] "no-unused-vars"
|
||||||
- [ ] "no-use-v-if-with-v-for"
|
- [ ] "no-use-v-if-with-v-for"
|
||||||
- [ ] "no-v-html"
|
- [ ] "no-v-html"
|
||||||
- [ ] "object-curly-spacing"
|
- [X] "object-curly-spacing"
|
||||||
- [ ] "order-in-components"
|
- [ ] "order-in-components"
|
||||||
|
- [X] "padding-line-between-blocks"
|
||||||
- [ ] "prop-name-casing"
|
- [ ] "prop-name-casing"
|
||||||
- [ ] "require-component-is"
|
- [ ] "require-component-is"
|
||||||
- [ ] "require-default-prop"
|
- [ ] "require-default-prop"
|
||||||
@ -593,7 +594,8 @@
|
|||||||
- [ ] "return-in-computed-property"
|
- [ ] "return-in-computed-property"
|
||||||
- [X] "script-indent"
|
- [X] "script-indent"
|
||||||
- [ ] "singleline-html-element-content-newline"
|
- [ ] "singleline-html-element-content-newline"
|
||||||
- [ ] "space-infix-ops"
|
- [X] "sort-keys"
|
||||||
|
- [X] "space-infix-ops"
|
||||||
- [ ] "space-unary-ops"
|
- [ ] "space-unary-ops"
|
||||||
- [ ] "static-class-names-order"
|
- [ ] "static-class-names-order"
|
||||||
- [ ] "this-in-template"
|
- [ ] "this-in-template"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@valentineus/eslint-config",
|
"name": "@valentineus/eslint-config",
|
||||||
"version": "0.0.4",
|
"version": "0.0.10",
|
||||||
"description": "Personal ESLint configuration",
|
"description": "Personal ESLint configuration",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "git@code.valentineus.link:eslint-config.git",
|
"repository": "git@code.valentineus.link:eslint-config.git",
|
||||||
@ -13,15 +13,15 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-json": "^4.0.2",
|
"@rollup/plugin-json": "^4.0.2",
|
||||||
"@rollup/plugin-typescript": "^3.0.0",
|
"@rollup/plugin-typescript": "^3.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^2.19.2",
|
"@typescript-eslint/eslint-plugin": "^2.20.0",
|
||||||
"@typescript-eslint/parser": "^2.19.2",
|
"@typescript-eslint/parser": "^2.20.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-eslint-comments": "^3.1.2",
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
||||||
"eslint-plugin-import": "^2.20.1",
|
"eslint-plugin-import": "^2.20.1",
|
||||||
"eslint-plugin-security": "^1.4.0",
|
"eslint-plugin-security": "^1.4.0",
|
||||||
"eslint-plugin-sonarjs": "^0.5.0",
|
"eslint-plugin-sonarjs": "^0.5.0",
|
||||||
"eslint-plugin-unicorn": "^16.1.1",
|
"eslint-plugin-unicorn": "^16.1.1",
|
||||||
"eslint-plugin-vue": "^6.1.2",
|
"eslint-plugin-vue": "^6.2.1",
|
||||||
"rollup": "^1.31.1",
|
"rollup": "^1.31.1",
|
||||||
"rollup-plugin-terser": "^5.2.0",
|
"rollup-plugin-terser": "^5.2.0",
|
||||||
"tslib": "^1.10.0",
|
"tslib": "^1.10.0",
|
||||||
|
@ -1 +1,42 @@
|
|||||||
{}
|
{
|
||||||
|
"eslint-comments/disable-enable-pair": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowWholeFile": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"eslint-comments/no-aggregating-enable": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"eslint-comments/no-duplicate-disable": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"eslint-comments/no-restricted-disable": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
|
"eslint-comments/no-unlimited-disable": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"eslint-comments/no-unused-disable": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"eslint-comments/no-unused-enable": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"eslint-comments/no-use": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allow": [
|
||||||
|
"eslint",
|
||||||
|
"eslint-disable",
|
||||||
|
"eslint-disable-line",
|
||||||
|
"eslint-disable-next-line",
|
||||||
|
"eslint-enable",
|
||||||
|
"eslint-env",
|
||||||
|
"exported",
|
||||||
|
"global",
|
||||||
|
"globals"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -111,7 +111,7 @@
|
|||||||
"MemberExpression": 1,
|
"MemberExpression": 1,
|
||||||
"ObjectExpression": 1,
|
"ObjectExpression": 1,
|
||||||
"SwitchCase": 1,
|
"SwitchCase": 1,
|
||||||
"VariableDeclarator": "first",
|
"VariableDeclarator": 1,
|
||||||
"flatTernaryExpressions": true,
|
"flatTernaryExpressions": true,
|
||||||
"ignoreComments": false,
|
"ignoreComments": false,
|
||||||
"ignoredNodes": [],
|
"ignoredNodes": [],
|
||||||
@ -121,6 +121,10 @@
|
|||||||
"indent-legacy": [
|
"indent-legacy": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"jsx-quotes": [
|
||||||
|
"error",
|
||||||
|
"prefer-double"
|
||||||
|
],
|
||||||
"key-spacing": [
|
"key-spacing": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -196,6 +200,12 @@
|
|||||||
"max-statements": [
|
"max-statements": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"max-statements-per-line": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"max": 1
|
||||||
|
}
|
||||||
|
],
|
||||||
"multiline-comment-style": [
|
"multiline-comment-style": [
|
||||||
"error",
|
"error",
|
||||||
"starred-block"
|
"starred-block"
|
||||||
@ -284,16 +294,7 @@
|
|||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
"no-magic-numbers": [
|
"no-magic-numbers": [
|
||||||
"warn",
|
"off"
|
||||||
{
|
|
||||||
"detectObjects": false,
|
|
||||||
"enforceConst": true,
|
|
||||||
"ignore": [
|
|
||||||
0,
|
|
||||||
1
|
|
||||||
],
|
|
||||||
"ignoreArrayIndexes": false
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"no-mixed-spaces-and-tabs": [
|
"no-mixed-spaces-and-tabs": [
|
||||||
"error"
|
"error"
|
||||||
@ -337,9 +338,18 @@
|
|||||||
"no-octal-escape": [
|
"no-octal-escape": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-param-reassign": [
|
||||||
|
"warn",
|
||||||
|
{
|
||||||
|
"props": true
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-path-concat": [
|
"no-path-concat": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-process-env": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
"no-proto": [
|
"no-proto": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -375,6 +385,13 @@
|
|||||||
"no-ternary": [
|
"no-ternary": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
|
"no-trailing-spaces": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"ignoreComments": false,
|
||||||
|
"skipBlankLines": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"no-undef-init": [
|
"no-undef-init": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -442,6 +459,9 @@
|
|||||||
"no-var": [
|
"no-var": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"no-whitespace-before-property": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"no-with": [
|
"no-with": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -594,6 +614,12 @@
|
|||||||
"named": "never"
|
"named": "never"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"space-infix-ops": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"int32Hint": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"strict": [
|
"strict": [
|
||||||
"error",
|
"error",
|
||||||
"safe"
|
"safe"
|
||||||
|
@ -2,6 +2,34 @@
|
|||||||
"@typescript-eslint/await-thenable": [
|
"@typescript-eslint/await-thenable": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/comma-spacing": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"after": true,
|
||||||
|
"before": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@typescript-eslint/explicit-function-return-type": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowExpressions": false,
|
||||||
|
"allowHigherOrderFunctions": false,
|
||||||
|
"allowTypedFunctionExpressions": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"@typescript-eslint/explicit-member-accessibility": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"accessibility": "explicit",
|
||||||
|
"overrides": {
|
||||||
|
"accessors": "explicit",
|
||||||
|
"constructors": "explicit",
|
||||||
|
"methods": "explicit",
|
||||||
|
"parameterProperties": "explicit",
|
||||||
|
"properties": "explicit"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/indent": [
|
"@typescript-eslint/indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
@ -22,7 +50,7 @@
|
|||||||
"MemberExpression": 1,
|
"MemberExpression": 1,
|
||||||
"ObjectExpression": 1,
|
"ObjectExpression": 1,
|
||||||
"SwitchCase": 1,
|
"SwitchCase": 1,
|
||||||
"VariableDeclarator": "first",
|
"VariableDeclarator": 1,
|
||||||
"flatTernaryExpressions": true,
|
"flatTernaryExpressions": true,
|
||||||
"ignoreComments": false,
|
"ignoreComments": false,
|
||||||
"ignoredNodes": [],
|
"ignoredNodes": [],
|
||||||
@ -49,6 +77,9 @@
|
|||||||
"ignoreRestArgs": false
|
"ignoreRestArgs": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/no-extra-semi": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
"@typescript-eslint/no-implied-eval": [
|
"@typescript-eslint/no-implied-eval": [
|
||||||
"error"
|
"error"
|
||||||
],
|
],
|
||||||
@ -56,18 +87,13 @@
|
|||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"@typescript-eslint/no-magic-numbers": [
|
"@typescript-eslint/no-magic-numbers": [
|
||||||
"warn",
|
"off"
|
||||||
{
|
|
||||||
"detectObjects": false,
|
|
||||||
"enforceConst": true,
|
|
||||||
"ignore": [
|
|
||||||
0,
|
|
||||||
1
|
|
||||||
],
|
],
|
||||||
"ignoreArrayIndexes": false,
|
"@typescript-eslint/no-misused-promises": [
|
||||||
"ignoreEnums": true,
|
"error",
|
||||||
"ignoreNumericLiteralTypes": true,
|
{
|
||||||
"ignoreReadonlyClassProperties": true
|
"checksConditionals": true,
|
||||||
|
"checksVoidReturn": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/no-namespace": [
|
"@typescript-eslint/no-namespace": [
|
||||||
@ -77,6 +103,18 @@
|
|||||||
"allowDefinitionFiles": true
|
"allowDefinitionFiles": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/no-type-alias": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"allowAliases": "in-unions-and-intersections",
|
||||||
|
"allowCallbacks": "always",
|
||||||
|
"allowConditionalTypes": "always",
|
||||||
|
"allowConstructors": "never",
|
||||||
|
"allowLiterals": "never",
|
||||||
|
"allowMappedTypes": "never",
|
||||||
|
"allowTupleTypes": "in-unions-and-intersections"
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/no-untyped-public-signature": [
|
"@typescript-eslint/no-untyped-public-signature": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -131,6 +169,14 @@
|
|||||||
"omitLastInOneLineBlock": false
|
"omitLastInOneLineBlock": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"@typescript-eslint/space-before-function-paren": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"anonymous": "always",
|
||||||
|
"asyncArrow": "always",
|
||||||
|
"named": "never"
|
||||||
|
}
|
||||||
|
],
|
||||||
"@typescript-eslint/strict-boolean-expressions": [
|
"@typescript-eslint/strict-boolean-expressions": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -142,9 +188,17 @@
|
|||||||
"@typescript-eslint/type-annotation-spacing": [
|
"@typescript-eslint/type-annotation-spacing": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
"overrides": {
|
||||||
|
"arrow": {
|
||||||
|
"after": true,
|
||||||
|
"before": true
|
||||||
|
},
|
||||||
|
"colon": {
|
||||||
"after": true,
|
"after": true,
|
||||||
"before": false
|
"before": false
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/typedef": [
|
"@typescript-eslint/typedef": [
|
||||||
"error",
|
"error",
|
||||||
@ -158,13 +212,16 @@
|
|||||||
"variableDeclaration": true
|
"variableDeclaration": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"comma-spacing": [
|
||||||
|
"off"
|
||||||
|
],
|
||||||
"indent": [
|
"indent": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"no-implied-eval": [
|
"no-extra-semi": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"no-magic-numbers": [
|
"no-implied-eval": [
|
||||||
"off"
|
"off"
|
||||||
],
|
],
|
||||||
"no-unused-vars": [
|
"no-unused-vars": [
|
||||||
@ -184,5 +241,8 @@
|
|||||||
],
|
],
|
||||||
"semi": [
|
"semi": [
|
||||||
"off"
|
"off"
|
||||||
|
],
|
||||||
|
"space-before-function-paren": [
|
||||||
|
"off"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1 +1,27 @@
|
|||||||
{}
|
{
|
||||||
|
"unicorn/filename-case": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"kebabCase": true,
|
||||||
|
"pascalCase": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"unicorn/no-console-spaces": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"unicorn/prevent-abbreviations": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"checkDefaultAndNamespaceImports": "internal",
|
||||||
|
"checkFilenames": true,
|
||||||
|
"checkProperties": true,
|
||||||
|
"checkShorthandImports": "internal",
|
||||||
|
"checkShorthandProperties": true,
|
||||||
|
"checkVariables": true,
|
||||||
|
"extendDefaultReplacements": true,
|
||||||
|
"extendDefaultWhitelist": true,
|
||||||
|
"replacements": {},
|
||||||
|
"whitelist": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
"vue/attributes-order": [
|
"vue/attributes-order": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
|
"alphabetical": true,
|
||||||
"order": [
|
"order": [
|
||||||
"DEFINITION",
|
"DEFINITION",
|
||||||
"LIST_RENDERING",
|
"LIST_RENDERING",
|
||||||
@ -17,6 +18,10 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"vue/comma-dangle": [
|
||||||
|
"error",
|
||||||
|
"always-multiline"
|
||||||
|
],
|
||||||
"vue/html-closing-bracket-newline": [
|
"vue/html-closing-bracket-newline": [
|
||||||
"error",
|
"error",
|
||||||
{
|
{
|
||||||
@ -44,7 +49,10 @@
|
|||||||
],
|
],
|
||||||
"vue/html-quotes": [
|
"vue/html-quotes": [
|
||||||
"error",
|
"error",
|
||||||
"double"
|
"double",
|
||||||
|
{
|
||||||
|
"avoidEscape": false
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"vue/html-self-closing": [
|
"vue/html-self-closing": [
|
||||||
"error",
|
"error",
|
||||||
@ -68,6 +76,21 @@
|
|||||||
"singleline": 8
|
"singleline": 8
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"vue/no-unused-vars": [
|
||||||
|
"error"
|
||||||
|
],
|
||||||
|
"vue/object-curly-spacing": [
|
||||||
|
"error",
|
||||||
|
"always",
|
||||||
|
{
|
||||||
|
"arraysInObjects": false,
|
||||||
|
"objectsInObjects": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vue/padding-line-between-blocks": [
|
||||||
|
"error",
|
||||||
|
"always"
|
||||||
|
],
|
||||||
"vue/script-indent": [
|
"vue/script-indent": [
|
||||||
"error",
|
"error",
|
||||||
"tab",
|
"tab",
|
||||||
@ -75,5 +98,45 @@
|
|||||||
"baseIndent": 0,
|
"baseIndent": 0,
|
||||||
"switchCase": 1
|
"switchCase": 1
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"vue/sort-keys": [
|
||||||
|
"warn",
|
||||||
|
"asc",
|
||||||
|
{
|
||||||
|
"caseSensitive": true,
|
||||||
|
"ignoreChildrenOf": [
|
||||||
|
"model"
|
||||||
|
],
|
||||||
|
"ignoreGrandchildrenOf": [
|
||||||
|
"activated",
|
||||||
|
"beforeCreate",
|
||||||
|
"beforeDestroy",
|
||||||
|
"beforeMount",
|
||||||
|
"beforeUpdate",
|
||||||
|
"components",
|
||||||
|
"computed",
|
||||||
|
"created",
|
||||||
|
"data",
|
||||||
|
"deactivated",
|
||||||
|
"destroyed",
|
||||||
|
"directives",
|
||||||
|
"errorCaptured",
|
||||||
|
"filters",
|
||||||
|
"methods",
|
||||||
|
"mounted",
|
||||||
|
"name",
|
||||||
|
"props",
|
||||||
|
"updated",
|
||||||
|
"watch"
|
||||||
|
],
|
||||||
|
"minKeys": 2,
|
||||||
|
"natural": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"vue/space-infix-ops": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
"int32Hint": false
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
61
yarn.lock
61
yarn.lock
@ -56,49 +56,49 @@
|
|||||||
integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==
|
integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==
|
||||||
|
|
||||||
"@types/node@*":
|
"@types/node@*":
|
||||||
version "13.7.1"
|
version "13.7.2"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.1.tgz#238eb34a66431b71d2aaddeaa7db166f25971a0d"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.2.tgz#50375b95b5845a34efda2ffb3a087c7becbc46c6"
|
||||||
integrity sha512-Zq8gcQGmn4txQEJeiXo/KiLpon8TzAl0kmKH4zdWctPj05nWwp1ClMdAVEloqrQKfaC48PNLdgN/aVaLqUrluA==
|
integrity sha512-uvilvAQbdJvnSBFcKJ2td4016urcGvsiR+N4dHGU87ml8O2Vl6l+ErOi9w0kXSPiwJ1AYlIW+0pDXDWWMOiWbw==
|
||||||
|
|
||||||
"@types/normalize-package-data@^2.4.0":
|
"@types/normalize-package-data@^2.4.0":
|
||||||
version "2.4.0"
|
version "2.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
|
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
|
||||||
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
|
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
|
||||||
|
|
||||||
"@typescript-eslint/eslint-plugin@^2.19.2":
|
"@typescript-eslint/eslint-plugin@^2.20.0":
|
||||||
version "2.19.2"
|
version "2.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.19.2.tgz#e279aaae5d5c1f2547b4cff99204e1250bc7a058"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.20.0.tgz#a522d0e1e4898f7c9c6a8e1ed3579b60867693fa"
|
||||||
integrity sha512-HX2qOq2GOV04HNrmKnTpSIpHjfl7iwdXe3u/Nvt+/cpmdvzYvY0NHSiTkYN257jHnq4OM/yo+OsFgati+7LqJA==
|
integrity sha512-cimIdVDV3MakiGJqMXw51Xci6oEDEoPkvh8ggJe2IIzcc0fYqAxOXN6Vbeanahz6dLZq64W+40iUEc9g32FLDQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@typescript-eslint/experimental-utils" "2.19.2"
|
"@typescript-eslint/experimental-utils" "2.20.0"
|
||||||
eslint-utils "^1.4.3"
|
eslint-utils "^1.4.3"
|
||||||
functional-red-black-tree "^1.0.1"
|
functional-red-black-tree "^1.0.1"
|
||||||
regexpp "^3.0.0"
|
regexpp "^3.0.0"
|
||||||
tsutils "^3.17.1"
|
tsutils "^3.17.1"
|
||||||
|
|
||||||
"@typescript-eslint/experimental-utils@2.19.2":
|
"@typescript-eslint/experimental-utils@2.20.0":
|
||||||
version "2.19.2"
|
version "2.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.19.2.tgz#4611d44cf0f0cb460c26aa7676fc0a787281e233"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.20.0.tgz#3b6fa5a6b8885f126d5a4280e0d44f0f41e73e32"
|
||||||
integrity sha512-B88QuwT1wMJR750YvTJBNjMZwmiPpbmKYLm1yI7PCc3x0NariqPwqaPsoJRwU9DmUi0cd9dkhz1IqEnwfD+P1A==
|
integrity sha512-fEBy9xYrwG9hfBLFEwGW2lKwDRTmYzH3DwTmYbT+SMycmxAoPl0eGretnBFj/s+NfYBG63w/5c3lsvqqz5mYag==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/json-schema" "^7.0.3"
|
"@types/json-schema" "^7.0.3"
|
||||||
"@typescript-eslint/typescript-estree" "2.19.2"
|
"@typescript-eslint/typescript-estree" "2.20.0"
|
||||||
eslint-scope "^5.0.0"
|
eslint-scope "^5.0.0"
|
||||||
|
|
||||||
"@typescript-eslint/parser@^2.19.2":
|
"@typescript-eslint/parser@^2.20.0":
|
||||||
version "2.19.2"
|
version "2.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.19.2.tgz#21f42c0694846367e7d6a907feb08ab2f89c0879"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.20.0.tgz#608e5bb06ba98a415b64ace994c79ab20f9772a9"
|
||||||
integrity sha512-8uwnYGKqX9wWHGPGdLB9sk9+12sjcdqEEYKGgbS8A0IvYX59h01o8os5qXUHMq2na8vpDRaV0suTLM7S8wraTA==
|
integrity sha512-o8qsKaosLh2qhMZiHNtaHKTHyCHc3Triq6aMnwnWj7budm3xAY9owSZzV1uon5T9cWmJRJGzTFa90aex4m77Lw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/eslint-visitor-keys" "^1.0.0"
|
"@types/eslint-visitor-keys" "^1.0.0"
|
||||||
"@typescript-eslint/experimental-utils" "2.19.2"
|
"@typescript-eslint/experimental-utils" "2.20.0"
|
||||||
"@typescript-eslint/typescript-estree" "2.19.2"
|
"@typescript-eslint/typescript-estree" "2.20.0"
|
||||||
eslint-visitor-keys "^1.1.0"
|
eslint-visitor-keys "^1.1.0"
|
||||||
|
|
||||||
"@typescript-eslint/typescript-estree@2.19.2":
|
"@typescript-eslint/typescript-estree@2.20.0":
|
||||||
version "2.19.2"
|
version "2.20.0"
|
||||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.19.2.tgz#67485b00172f400474d243c6c0be27581a579350"
|
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.20.0.tgz#90a0f5598826b35b966ca83483b1a621b1a4d0c9"
|
||||||
integrity sha512-Xu/qa0MDk6upQWqE4Qy2X16Xg8Vi32tQS2PR0AvnT/ZYS4YGDvtn2MStOh5y8Zy2mg4NuL06KUHlvCh95j9C6Q==
|
integrity sha512-WlFk8QtI8pPaE7JGQGxU7nGcnk1ccKAJkhbVookv94ZcAef3m6oCE/jEDL6dGte3JcD7reKrA0o55XhBRiVT3A==
|
||||||
dependencies:
|
dependencies:
|
||||||
debug "^4.1.1"
|
debug "^4.1.1"
|
||||||
eslint-visitor-keys "^1.1.0"
|
eslint-visitor-keys "^1.1.0"
|
||||||
@ -453,11 +453,12 @@ eslint-plugin-unicorn@^16.1.1:
|
|||||||
safe-regex "^2.1.1"
|
safe-regex "^2.1.1"
|
||||||
semver "^7.1.2"
|
semver "^7.1.2"
|
||||||
|
|
||||||
eslint-plugin-vue@^6.1.2:
|
eslint-plugin-vue@^6.2.1:
|
||||||
version "6.1.2"
|
version "6.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-6.1.2.tgz#4b05c28c83c0ec912669b64dbd998bb8bf692ef6"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-6.2.1.tgz#ca802df5c33146aed1e56bb21d250c1abb6120a3"
|
||||||
integrity sha512-M75oAB+2a/LNkLKRbeEaS07EjzjIUaV7/hYoHAfRFeeF8ZMmCbahUn8nQLsLP85mkar24+zDU3QW2iT1JRsACw==
|
integrity sha512-MiIDOotoWseIfLIfGeDzF6sDvHkVvGd2JgkvjyHtN3q4RoxdAXrAMuI3SXTOKatljgacKwpNAYShmcKZa4yZzw==
|
||||||
dependencies:
|
dependencies:
|
||||||
|
natural-compare "^1.4.0"
|
||||||
semver "^5.6.0"
|
semver "^5.6.0"
|
||||||
vue-eslint-parser "^7.0.0"
|
vue-eslint-parser "^7.0.0"
|
||||||
|
|
||||||
@ -606,9 +607,9 @@ fast-levenshtein@~2.0.6:
|
|||||||
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
|
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
|
||||||
|
|
||||||
figures@^3.0.0:
|
figures@^3.0.0:
|
||||||
version "3.1.0"
|
version "3.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/figures/-/figures-3.1.0.tgz#4b198dd07d8d71530642864af2d45dd9e459c4ec"
|
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
|
||||||
integrity sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==
|
integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==
|
||||||
dependencies:
|
dependencies:
|
||||||
escape-string-regexp "^1.0.5"
|
escape-string-regexp "^1.0.5"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user