eslint-config-isaacscript 1.0.59 → 1.0.62

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.
Files changed (2) hide show
  1. package/base.js +15 -7
  2. 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,19 @@ 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",
37
+ // This prevents declaring arrays without a type
38
+ // https://github.com/Zamiell/eslint-plugin-no-array-any
39
+ "plugin:no-array-any/recommended",
36
40
 
37
41
  // This prevents implicit iteration of Maps and Sets,
38
42
  // which is helpful to prevent bugs when refactoring
39
43
  // https://github.com/Zamiell/eslint-plugin-no-implicit-map-set-loops
40
44
  "plugin:no-implicit-map-set-loops/recommended",
41
45
 
46
+ // This prevents declaring variables without a type
47
+ // https://github.com/Zamiell/eslint-plugin-no-let-any
48
+ "plugin:no-let-any/recommended",
49
+
42
50
  // This provides a version of the "no-template-curly-in-string" that the "--fix" flag can fix
43
51
  // https://github.com/Zamiell/eslint-plugin-no-template-curly-in-string-fix
44
52
  "plugin:no-template-curly-in-string-fix/recommended",
@@ -47,10 +55,6 @@ module.exports = {
47
55
  // https://github.com/Zamiell/eslint-plugin-no-void-return-type
48
56
  "plugin:no-void-return-type/recommended",
49
57
 
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
58
  // Disable any ESLint rules that conflict with Prettier
55
59
  // (otherwise, we will have unfixable ESLint errors)
56
60
  // https://github.com/prettier/eslint-config-prettier
@@ -62,6 +66,10 @@ module.exports = {
62
66
  // This allows the end-user to more easily distinguish between errors from the TypeScript
63
67
  // compiler (which show up in red) and ESLint rule violations (which show up in yellow)
64
68
  "only-warn",
69
+
70
+ // Activate the "sort-exports" plugin, which allows the "sort-exports" rule to be optionally
71
+ // enabled on a per-project basis
72
+ "sort-exports",
65
73
  ],
66
74
 
67
75
  // 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.59",
3
+ "version": "1.0.62",
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.5.1"
12
+ "prettier": "^2.6.1"
13
13
  }
14
14
  }