Updated plugin rules

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2020-06-18 00:47:04 +04:00
parent 7f69fc6b1e
commit 10507bf4d5
3 changed files with 49 additions and 32 deletions

View File

@ -282,6 +282,7 @@
- [X] "no-unused-disable" - [X] "no-unused-disable"
- [X] "no-unused-enable" - [X] "no-unused-enable"
- [X] "no-use" - [X] "no-use"
- [ ] "require-description"
## Import ## Import
@ -494,13 +495,17 @@
- [ ] "no-keyword-prefix" - [ ] "no-keyword-prefix"
- [ ] "no-nested-ternary" - [ ] "no-nested-ternary"
- [ ] "no-new-buffer" - [ ] "no-new-buffer"
- [ ] "no-null"
- [ ] "no-process-exit" - [ ] "no-process-exit"
- [ ] "no-reduce"
- [ ] "no-unreadable-array-destructuring" - [ ] "no-unreadable-array-destructuring"
- [ ] "no-unsafe-regex" - [ ] "no-unsafe-regex"
- [ ] "no-unused-properties" - [ ] "no-unused-properties"
- [ ] "no-useless-undefined"
- [ ] "no-zero-fractions" - [ ] "no-zero-fractions"
- [ ] "number-literal-case" - [ ] "number-literal-case"
- [ ] "prefer-add-event-listener" - [ ] "prefer-add-event-listener"
- [ ] "prefer-array-find"
- [ ] "prefer-dataset" - [ ] "prefer-dataset"
- [ ] "prefer-event-key" - [ ] "prefer-event-key"
- [ ] "prefer-exponentiation-operator" - [ ] "prefer-exponentiation-operator"
@ -511,6 +516,7 @@
- [ ] "prefer-node-append" - [ ] "prefer-node-append"
- [ ] "prefer-node-remove" - [ ] "prefer-node-remove"
- [X] "prefer-number-properties" - [X] "prefer-number-properties"
- [ ] "prefer-optional-catch-binding"
- [ ] "prefer-query-selector" - [ ] "prefer-query-selector"
- [ ] "prefer-reflect-apply" - [ ] "prefer-reflect-apply"
- [ ] "prefer-replace-all" - [ ] "prefer-replace-all"
@ -522,6 +528,7 @@
- [ ] "prefer-trim-start-end" - [ ] "prefer-trim-start-end"
- [ ] "prefer-type-error" - [ ] "prefer-type-error"
- [X] "prevent-abbreviations" - [X] "prevent-abbreviations"
- [ ] "string-content"
- [ ] "throw-new-error" - [ ] "throw-new-error"
## Vue ## Vue

62
package-lock.json generated
View File

@ -528,17 +528,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true "dev": true
}, },
"espree": {
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/espree/-/espree-7.1.0.tgz",
"integrity": "sha512-dcorZSyfmm4WTuTnE5Y7MEN1DyoPYy1ZR783QW1FJoenn7RailyWFsq/UL6ZAAA7uXurN9FIpYyUs3OfiIW+Qw==",
"dev": true,
"requires": {
"acorn": "^7.2.0",
"acorn-jsx": "^5.2.0",
"eslint-visitor-keys": "^1.2.0"
}
},
"has-flag": { "has-flag": {
"version": "4.0.0", "version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@ -702,22 +691,24 @@
"dev": true "dev": true
}, },
"eslint-plugin-unicorn": { "eslint-plugin-unicorn": {
"version": "18.0.1", "version": "20.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-18.0.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-20.1.0.tgz",
"integrity": "sha512-Y4bgygek4x4ogeMcSHr6MZi3frBPZ80eIpMOsxew7jAblb53OYflpRh0an62Z6jv/fw7D3TkXauqLOBWbT9adg==", "integrity": "sha512-XQxLBJT/gnwyRR6cfYsIK1AdekQchAt5tmcsnldevGjgR2xoZsRUa5/i6e0seNHy2RoT57CkTnbVHwHF8No8LA==",
"dev": true, "dev": true,
"requires": { "requires": {
"ci-info": "^2.0.0", "ci-info": "^2.0.0",
"clean-regexp": "^1.0.0", "clean-regexp": "^1.0.0",
"eslint-ast-utils": "^1.1.0", "eslint-ast-utils": "^1.1.0",
"eslint-template-visitor": "^1.1.0", "eslint-template-visitor": "^2.0.0",
"eslint-utils": "^2.0.0",
"import-modules": "^2.0.0", "import-modules": "^2.0.0",
"lodash": "^4.17.15", "lodash": "^4.17.15",
"pluralize": "^8.0.0",
"read-pkg-up": "^7.0.1", "read-pkg-up": "^7.0.1",
"regexp-tree": "^0.1.21", "regexp-tree": "^0.1.21",
"reserved-words": "^0.1.2", "reserved-words": "^0.1.2",
"safe-regex": "^2.1.1", "safe-regex": "^2.1.1",
"semver": "^7.1.3" "semver": "^7.3.2"
}, },
"dependencies": { "dependencies": {
"find-up": { "find-up": {
@ -853,14 +844,14 @@
} }
}, },
"eslint-template-visitor": { "eslint-template-visitor": {
"version": "1.1.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-1.1.0.tgz", "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.0.0.tgz",
"integrity": "sha512-Lmy6QVlmFiIGl5fPi+8ACnov3sare+0Ouf7deJAGGhmUfeWJ5fVarELUxZRpsZ9sHejiJUq8626d0dn9uvcZTw==", "integrity": "sha512-WijrLXWk/TiiG9FBTeEeb2pj/nD8H4eKIYx1DhTv/c7QoFmelE5P+3gzKUcXWZz88AI2+Wjse9DTV8lXrhcUsw==",
"dev": true, "dev": true,
"requires": { "requires": {
"eslint-visitor-keys": "^1.1.0", "eslint-visitor-keys": "^1.1.0",
"espree": "^6.1.1", "espree": "^7.0.0",
"multimap": "^1.0.2" "multimap": "^1.1.0"
} }
}, },
"eslint-utils": { "eslint-utils": {
@ -879,14 +870,14 @@
"dev": true "dev": true
}, },
"espree": { "espree": {
"version": "6.2.1", "version": "7.1.0",
"resolved": "https://registry.npmjs.org/espree/-/espree-6.2.1.tgz", "resolved": "https://registry.npmjs.org/espree/-/espree-7.1.0.tgz",
"integrity": "sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==", "integrity": "sha512-dcorZSyfmm4WTuTnE5Y7MEN1DyoPYy1ZR783QW1FJoenn7RailyWFsq/UL6ZAAA7uXurN9FIpYyUs3OfiIW+Qw==",
"dev": true, "dev": true,
"requires": { "requires": {
"acorn": "^7.1.1", "acorn": "^7.2.0",
"acorn-jsx": "^5.2.0", "acorn-jsx": "^5.2.0",
"eslint-visitor-keys": "^1.1.0" "eslint-visitor-keys": "^1.2.0"
} }
}, },
"esprima": { "esprima": {
@ -1672,6 +1663,12 @@
"find-up": "^2.1.0" "find-up": "^2.1.0"
} }
}, },
"pluralize": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz",
"integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==",
"dev": true
},
"prelude-ls": { "prelude-ls": {
"version": "1.2.1", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
@ -2187,6 +2184,19 @@
"espree": "^6.2.1", "espree": "^6.2.1",
"esquery": "^1.0.1", "esquery": "^1.0.1",
"lodash": "^4.17.15" "lodash": "^4.17.15"
},
"dependencies": {
"espree": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-6.2.1.tgz",
"integrity": "sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==",
"dev": true,
"requires": {
"acorn": "^7.1.1",
"acorn-jsx": "^5.2.0",
"eslint-visitor-keys": "^1.1.0"
}
}
} }
}, },
"which": { "which": {

View File

@ -17,11 +17,11 @@
"@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0", "@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.2.0", "eslint": "^7.2.0",
"eslint-plugin-eslint-comments": "^3.1.2", "eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.21.2",
"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": "^18.0.1", "eslint-plugin-unicorn": "^20.1.0",
"eslint-plugin-vue": "^6.2.2", "eslint-plugin-vue": "^6.2.2",
"rollup": "^2.16.1", "rollup": "^2.16.1",
"rollup-plugin-terser": "^6.1.0", "rollup-plugin-terser": "^6.1.0",
@ -32,11 +32,11 @@
"@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0", "@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.2.0", "eslint": "^7.2.0",
"eslint-plugin-eslint-comments": "^3.1.2", "eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.20.2", "eslint-plugin-import": "^2.21.2",
"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": "^18.0.1", "eslint-plugin-unicorn": "^20.1.0",
"eslint-plugin-vue": "^6.2.2" "eslint-plugin-vue": "^6.2.2"
}, },
"dependencies": {} "dependencies": {}