aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-17 23:47:04 +0300
committerValentin Popov <info@valentineus.link>2020-06-17 23:47:04 +0300
commit10507bf4d5bd94fe14949fe34c91d73aa4e43a6a (patch)
tree4c93a0fa246ea4692e37a25b7ec26967e1e24e7e
parent7f69fc6b1ee0ef43244785b4319dd53751ad74af (diff)
downloadeslint-config-10507bf4d5bd94fe14949fe34c91d73aa4e43a6a.tar.xz
eslint-config-10507bf4d5bd94fe14949fe34c91d73aa4e43a6a.zip
Updated plugin rules
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md7
-rw-r--r--package-lock.json62
-rw-r--r--package.json12
3 files changed, 49 insertions, 32 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index ca63bad..f671ba7 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -282,6 +282,7 @@
- [X] "no-unused-disable"
- [X] "no-unused-enable"
- [X] "no-use"
+- [ ] "require-description"
## Import
@@ -494,13 +495,17 @@
- [ ] "no-keyword-prefix"
- [ ] "no-nested-ternary"
- [ ] "no-new-buffer"
+- [ ] "no-null"
- [ ] "no-process-exit"
+- [ ] "no-reduce"
- [ ] "no-unreadable-array-destructuring"
- [ ] "no-unsafe-regex"
- [ ] "no-unused-properties"
+- [ ] "no-useless-undefined"
- [ ] "no-zero-fractions"
- [ ] "number-literal-case"
- [ ] "prefer-add-event-listener"
+- [ ] "prefer-array-find"
- [ ] "prefer-dataset"
- [ ] "prefer-event-key"
- [ ] "prefer-exponentiation-operator"
@@ -511,6 +516,7 @@
- [ ] "prefer-node-append"
- [ ] "prefer-node-remove"
- [X] "prefer-number-properties"
+- [ ] "prefer-optional-catch-binding"
- [ ] "prefer-query-selector"
- [ ] "prefer-reflect-apply"
- [ ] "prefer-replace-all"
@@ -522,6 +528,7 @@
- [ ] "prefer-trim-start-end"
- [ ] "prefer-type-error"
- [X] "prevent-abbreviations"
+- [ ] "string-content"
- [ ] "throw-new-error"
## Vue
diff --git a/package-lock.json b/package-lock.json
index 1b805d9..ef9feed 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -528,17 +528,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"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": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -702,22 +691,24 @@
"dev": true
},
"eslint-plugin-unicorn": {
- "version": "18.0.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-18.0.1.tgz",
- "integrity": "sha512-Y4bgygek4x4ogeMcSHr6MZi3frBPZ80eIpMOsxew7jAblb53OYflpRh0an62Z6jv/fw7D3TkXauqLOBWbT9adg==",
+ "version": "20.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-20.1.0.tgz",
+ "integrity": "sha512-XQxLBJT/gnwyRR6cfYsIK1AdekQchAt5tmcsnldevGjgR2xoZsRUa5/i6e0seNHy2RoT57CkTnbVHwHF8No8LA==",
"dev": true,
"requires": {
"ci-info": "^2.0.0",
"clean-regexp": "^1.0.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",
"lodash": "^4.17.15",
+ "pluralize": "^8.0.0",
"read-pkg-up": "^7.0.1",
"regexp-tree": "^0.1.21",
"reserved-words": "^0.1.2",
"safe-regex": "^2.1.1",
- "semver": "^7.1.3"
+ "semver": "^7.3.2"
},
"dependencies": {
"find-up": {
@@ -853,14 +844,14 @@
}
},
"eslint-template-visitor": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-1.1.0.tgz",
- "integrity": "sha512-Lmy6QVlmFiIGl5fPi+8ACnov3sare+0Ouf7deJAGGhmUfeWJ5fVarELUxZRpsZ9sHejiJUq8626d0dn9uvcZTw==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-template-visitor/-/eslint-template-visitor-2.0.0.tgz",
+ "integrity": "sha512-WijrLXWk/TiiG9FBTeEeb2pj/nD8H4eKIYx1DhTv/c7QoFmelE5P+3gzKUcXWZz88AI2+Wjse9DTV8lXrhcUsw==",
"dev": true,
"requires": {
"eslint-visitor-keys": "^1.1.0",
- "espree": "^6.1.1",
- "multimap": "^1.0.2"
+ "espree": "^7.0.0",
+ "multimap": "^1.1.0"
}
},
"eslint-utils": {
@@ -879,14 +870,14 @@
"dev": true
},
"espree": {
- "version": "6.2.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-6.2.1.tgz",
- "integrity": "sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==",
+ "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.1.1",
+ "acorn": "^7.2.0",
"acorn-jsx": "^5.2.0",
- "eslint-visitor-keys": "^1.1.0"
+ "eslint-visitor-keys": "^1.2.0"
}
},
"esprima": {
@@ -1672,6 +1663,12 @@
"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": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
@@ -2187,6 +2184,19 @@
"espree": "^6.2.1",
"esquery": "^1.0.1",
"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": {
diff --git a/package.json b/package.json
index a740a2f..17cfa4d 100644
--- a/package.json
+++ b/package.json
@@ -17,11 +17,11 @@
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.2.0",
- "eslint-plugin-eslint-comments": "^3.1.2",
- "eslint-plugin-import": "^2.20.2",
+ "eslint-plugin-eslint-comments": "^3.2.0",
+ "eslint-plugin-import": "^2.21.2",
"eslint-plugin-security": "^1.4.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",
"rollup": "^2.16.1",
"rollup-plugin-terser": "^6.1.0",
@@ -32,11 +32,11 @@
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"eslint": "^7.2.0",
- "eslint-plugin-eslint-comments": "^3.1.2",
- "eslint-plugin-import": "^2.20.2",
+ "eslint-plugin-eslint-comments": "^3.2.0",
+ "eslint-plugin-import": "^2.21.2",
"eslint-plugin-security": "^1.4.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"
},
"dependencies": {}