eslint-config-isaacscript 1.0.59 → 1.0.60
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/base.js +12 -8
- package/package.json +2 -2
package/base.js
CHANGED
|
@@ -22,6 +22,10 @@ module.exports = {
|
|
|
22
22
|
"plugin:@typescript-eslint/recommended",
|
|
23
23
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
24
24
|
|
|
25
|
+
// This provides a version of the "eqeqeq" rule that the "--fix" flag can fix
|
|
26
|
+
// https://github.com/Zamiell/eslint-plugin-eqeqeq-fix
|
|
27
|
+
"plugin:eqeqeq-fix/recommended",
|
|
28
|
+
|
|
25
29
|
// Find unused "eslint-disable" comments
|
|
26
30
|
// https://github.com/mysticatea/eslint-plugin-eslint-comments
|
|
27
31
|
"plugin:eslint-comments/recommended",
|
|
@@ -30,15 +34,15 @@ module.exports = {
|
|
|
30
34
|
// https://github.com/gajus/eslint-plugin-jsdoc
|
|
31
35
|
"plugin:jsdoc/recommended",
|
|
32
36
|
|
|
33
|
-
// This provides a version of the "eqeqeq" rule that the "--fix" flag can fix
|
|
34
|
-
// https://github.com/Zamiell/eslint-plugin-eqeqeq-fix
|
|
35
|
-
"plugin:eqeqeq-fix/recommended",
|
|
36
|
-
|
|
37
37
|
// This prevents implicit iteration of Maps and Sets,
|
|
38
38
|
// which is helpful to prevent bugs when refactoring
|
|
39
39
|
// https://github.com/Zamiell/eslint-plugin-no-implicit-map-set-loops
|
|
40
40
|
"plugin:no-implicit-map-set-loops/recommended",
|
|
41
41
|
|
|
42
|
+
// This prevents declaring variables without a type
|
|
43
|
+
// https://github.com/Zamiell/eslint-plugin-no-let-any
|
|
44
|
+
"plugin:no-let-any/recommended",
|
|
45
|
+
|
|
42
46
|
// This provides a version of the "no-template-curly-in-string" that the "--fix" flag can fix
|
|
43
47
|
// https://github.com/Zamiell/eslint-plugin-no-template-curly-in-string-fix
|
|
44
48
|
"plugin:no-template-curly-in-string-fix/recommended",
|
|
@@ -47,10 +51,6 @@ module.exports = {
|
|
|
47
51
|
// https://github.com/Zamiell/eslint-plugin-no-void-return-type
|
|
48
52
|
"plugin:no-void-return-type/recommended",
|
|
49
53
|
|
|
50
|
-
// This prevents declaring variables without a type
|
|
51
|
-
// https://github.com/Zamiell/eslint-plugin-no-let-any
|
|
52
|
-
"plugin:no-let-any/recommended",
|
|
53
|
-
|
|
54
54
|
// Disable any ESLint rules that conflict with Prettier
|
|
55
55
|
// (otherwise, we will have unfixable ESLint errors)
|
|
56
56
|
// https://github.com/prettier/eslint-config-prettier
|
|
@@ -62,6 +62,10 @@ module.exports = {
|
|
|
62
62
|
// This allows the end-user to more easily distinguish between errors from the TypeScript
|
|
63
63
|
// compiler (which show up in red) and ESLint rule violations (which show up in yellow)
|
|
64
64
|
"only-warn",
|
|
65
|
+
|
|
66
|
+
// Activate the "sort-exports" plugin, which allows the "sort-exports" rule to be optionally
|
|
67
|
+
// enabled on a per-project basis
|
|
68
|
+
"sort-exports",
|
|
65
69
|
],
|
|
66
70
|
|
|
67
71
|
// We modify the linting rules from the base for some specific things
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-isaacscript",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.60",
|
|
4
4
|
"description": "An ESLint config for IsaacScript projects.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"license": "GPL-3.0",
|
|
10
10
|
"author": "Zamiell",
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"prettier": "^2.
|
|
12
|
+
"prettier": "^2.6.0"
|
|
13
13
|
}
|
|
14
14
|
}
|