@eslint-community/eslint-plugin-eslint-comments 3.2.0 → 4.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/rules/disable-enable-pair.js +1 -1
- package/lib/rules/no-aggregating-enable.js +1 -1
- package/lib/rules/no-duplicate-disable.js +1 -1
- package/lib/rules/no-restricted-disable.js +1 -1
- package/lib/rules/no-unlimited-disable.js +1 -1
- package/lib/rules/no-unused-disable.js +1 -1
- package/lib/rules/no-unused-enable.js +1 -1
- package/lib/rules/no-use.js +1 -1
- package/lib/rules/require-description.js +1 -1
- package/package.json +16 -22
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Additional ESLint rules for ESLint directive comments (e.g. `//eslint-disable-li
|
|
|
9
9
|
|
|
10
10
|
## 📖 Usage
|
|
11
11
|
|
|
12
|
-
- [Documentation](https://
|
|
12
|
+
- [Documentation](https://eslint-community.github.io/eslint-plugin-eslint-comments)
|
|
13
13
|
|
|
14
14
|
## 🚥 Semantic Versioning Policy
|
|
15
15
|
|
|
@@ -15,7 +15,7 @@ module.exports = {
|
|
|
15
15
|
category: "Best Practices",
|
|
16
16
|
recommended: true,
|
|
17
17
|
url:
|
|
18
|
-
"https://
|
|
18
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html",
|
|
19
19
|
},
|
|
20
20
|
fixable: null,
|
|
21
21
|
schema: [
|
|
@@ -15,7 +15,7 @@ module.exports = {
|
|
|
15
15
|
category: "Best Practices",
|
|
16
16
|
recommended: true,
|
|
17
17
|
url:
|
|
18
|
-
"https://
|
|
18
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html",
|
|
19
19
|
},
|
|
20
20
|
fixable: null,
|
|
21
21
|
schema: [],
|
|
@@ -14,7 +14,7 @@ module.exports = {
|
|
|
14
14
|
category: "Best Practices",
|
|
15
15
|
recommended: true,
|
|
16
16
|
url:
|
|
17
|
-
"https://
|
|
17
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html",
|
|
18
18
|
},
|
|
19
19
|
fixable: null,
|
|
20
20
|
schema: [],
|
|
@@ -16,7 +16,7 @@ module.exports = {
|
|
|
16
16
|
category: "Stylistic Issues",
|
|
17
17
|
recommended: false,
|
|
18
18
|
url:
|
|
19
|
-
"https://
|
|
19
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html",
|
|
20
20
|
},
|
|
21
21
|
fixable: null,
|
|
22
22
|
schema: {
|
|
@@ -14,7 +14,7 @@ module.exports = {
|
|
|
14
14
|
category: "Best Practices",
|
|
15
15
|
recommended: true,
|
|
16
16
|
url:
|
|
17
|
-
"https://
|
|
17
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html",
|
|
18
18
|
},
|
|
19
19
|
fixable: null,
|
|
20
20
|
schema: [],
|
|
@@ -14,7 +14,7 @@ module.exports = {
|
|
|
14
14
|
category: "Best Practices",
|
|
15
15
|
recommended: false,
|
|
16
16
|
url:
|
|
17
|
-
"https://
|
|
17
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html",
|
|
18
18
|
},
|
|
19
19
|
fixable: null,
|
|
20
20
|
schema: [],
|
|
@@ -14,7 +14,7 @@ module.exports = {
|
|
|
14
14
|
category: "Best Practices",
|
|
15
15
|
recommended: true,
|
|
16
16
|
url:
|
|
17
|
-
"https://
|
|
17
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html",
|
|
18
18
|
},
|
|
19
19
|
fixable: null,
|
|
20
20
|
schema: [],
|
package/lib/rules/no-use.js
CHANGED
|
@@ -13,7 +13,7 @@ module.exports = {
|
|
|
13
13
|
category: "Stylistic Issues",
|
|
14
14
|
recommended: false,
|
|
15
15
|
url:
|
|
16
|
-
"https://
|
|
16
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html",
|
|
17
17
|
},
|
|
18
18
|
fixable: null,
|
|
19
19
|
schema: [
|
|
@@ -14,7 +14,7 @@ module.exports = {
|
|
|
14
14
|
category: "Stylistic Issues",
|
|
15
15
|
recommended: false,
|
|
16
16
|
url:
|
|
17
|
-
"https://
|
|
17
|
+
"https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html",
|
|
18
18
|
},
|
|
19
19
|
fixable: null,
|
|
20
20
|
schema: [
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-community/eslint-plugin-eslint-comments",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-alpha.1",
|
|
4
4
|
"description": "Additional ESLint rules for ESLint directive comments.",
|
|
5
5
|
"engines": {
|
|
6
|
-
"node": ">=
|
|
6
|
+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
|
7
7
|
},
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"files": [
|
|
@@ -14,26 +14,25 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"escape-string-regexp": "^1.0.5",
|
|
17
|
-
"ignore": "^5.
|
|
17
|
+
"ignore": "^5.2.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@mysticatea/eslint-plugin": "^13.0.0",
|
|
21
|
-
"@types/node": "^14.
|
|
22
|
-
"@vuepress/plugin-pwa": "^1.
|
|
21
|
+
"@types/node": "^14.18.36",
|
|
22
|
+
"@vuepress/plugin-pwa": "^1.9.8",
|
|
23
23
|
"babel-eslint": "^10.0.1",
|
|
24
|
-
"codecov": "^3.3.0",
|
|
25
24
|
"cross-spawn": "^6.0.5",
|
|
26
|
-
"eslint": "^7.
|
|
27
|
-
"eslint4b": "^7.
|
|
28
|
-
"fs-extra": "^8.0
|
|
29
|
-
"mocha": "^6.
|
|
25
|
+
"eslint": "^7.32.0",
|
|
26
|
+
"eslint4b": "^7.32.0",
|
|
27
|
+
"fs-extra": "^8.1.0",
|
|
28
|
+
"mocha": "^6.2.3",
|
|
30
29
|
"nyc": "^14.1.1",
|
|
31
|
-
"opener": "^1.
|
|
32
|
-
"rimraf": "^2.
|
|
33
|
-
"semver": "^7.3.
|
|
34
|
-
"string-replace-loader": "^2.
|
|
30
|
+
"opener": "^1.5.2",
|
|
31
|
+
"rimraf": "^2.7.1",
|
|
32
|
+
"semver": "^7.3.8",
|
|
33
|
+
"string-replace-loader": "^2.3.0",
|
|
35
34
|
"vue-eslint-editor": "^1.1.0",
|
|
36
|
-
"vuepress": "^1.
|
|
35
|
+
"vuepress": "^1.9.8"
|
|
37
36
|
},
|
|
38
37
|
"scripts": {
|
|
39
38
|
"preversion": "npm test",
|
|
@@ -42,15 +41,10 @@
|
|
|
42
41
|
"clean": "rimraf .nyc_output coverage docs/.vuepress/dist",
|
|
43
42
|
"docs:build": "vuepress build docs",
|
|
44
43
|
"docs:watch": "vuepress dev docs",
|
|
45
|
-
"docs:deploy": "node scripts/deploy",
|
|
46
44
|
"lint": "eslint lib scripts tests",
|
|
47
|
-
"
|
|
48
|
-
"test": "nyc npm run -s test:mocha",
|
|
49
|
-
"test:ci": "nyc npm run -s test:mocha",
|
|
50
|
-
"test:mocha": "mocha \"tests/lib/**/*.js\" --reporter dot --timeout 8000",
|
|
51
|
-
"watch": "npm run -s test:mocha -- --watch --growl",
|
|
45
|
+
"test": "nyc mocha \"tests/lib/**/*.js\" --reporter dot --timeout 8000",
|
|
52
46
|
"coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html",
|
|
53
|
-
"
|
|
47
|
+
"watch": "npm run -s test -- --watch --growl"
|
|
54
48
|
},
|
|
55
49
|
"repository": {
|
|
56
50
|
"type": "git",
|