eslint-config-isaacscript 1.2.2 → 1.3.0
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/base.js +1 -1
- package/jsdoc.js +4 -1
- package/mod.js +12 -2
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
package/README.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
This is a sharable configuration for ESLint that is intended to be used in TypeScript and IsaacScript projects.
|
|
6
6
|
|
|
7
|
-
This package is consumed by the [`isaacscript-lint`](https://github.com/IsaacScript/isaacscript-lint) meta-linting package.
|
|
7
|
+
This package is consumed by the [`isaacscript-lint`](https://github.com/IsaacScript/isaacscript/tree/main/packages/isaacscript-lint) meta-linting package.
|
|
8
8
|
|
|
9
9
|
Please see the [IsaacScript webpage](https://isaacscript.github.io/) for more information.
|
package/base.js
CHANGED
|
@@ -32,7 +32,7 @@ module.exports = {
|
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* This provides extra miscellaneous rules to keep code safe:
|
|
35
|
-
* https://github.com/IsaacScript/eslint-plugin-isaacscript
|
|
35
|
+
* https://github.com/IsaacScript/isaacscript/tree/main/packages/eslint-plugin-isaacscript
|
|
36
36
|
*/
|
|
37
37
|
"plugin:isaacscript/recommended",
|
|
38
38
|
|
package/jsdoc.js
CHANGED
|
@@ -18,7 +18,10 @@ module.exports = {
|
|
|
18
18
|
rules: {
|
|
19
19
|
// - jsdoc/check-access - Not needed in TypeScript.
|
|
20
20
|
// - jsdoc/check-alignment - Overlaps with `isaacscript/limit-jsdoc-comments`.
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
// - jsdoc/check-examples - Does not work with ESLint 8; see:
|
|
23
|
+
// https://github.com/eslint/eslint/issues/14745
|
|
24
|
+
|
|
22
25
|
// - jsdoc/check-indentation - Overlaps with `isaacscript/limit-jsdoc-comments`.
|
|
23
26
|
// - jsdoc/check-line-alignment - This is not a common formatting scheme in the wild. It's also
|
|
24
27
|
// not recommended by the plugin.
|
package/mod.js
CHANGED
|
@@ -4,7 +4,7 @@ module.exports = {
|
|
|
4
4
|
extends: [
|
|
5
5
|
/**
|
|
6
6
|
* The mod config extends the base configuration:
|
|
7
|
-
* https://github.com/IsaacScript/eslint-config-isaacscript/
|
|
7
|
+
* https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-config-isaacscript/base.js
|
|
8
8
|
*/
|
|
9
9
|
"./base",
|
|
10
10
|
],
|
|
@@ -67,7 +67,7 @@ module.exports = {
|
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* Documentation:
|
|
70
|
-
* https://github.com/IsaacScript/eslint-plugin-isaacscript/
|
|
70
|
+
* https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-plugin-isaacscript/main/docs/rules/enum-member-number-separation.md
|
|
71
71
|
*
|
|
72
72
|
* Not defined in the parent configs.
|
|
73
73
|
*
|
|
@@ -75,6 +75,16 @@ module.exports = {
|
|
|
75
75
|
*/
|
|
76
76
|
"isaacscript/enum-member-number-separation": "warn",
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Documentation:
|
|
80
|
+
* https://github.com/IsaacScript/isaacscript/blob/main/packages/eslint-plugin-isaacscript/main/docs/rules/no-invalid-default-map.md
|
|
81
|
+
*
|
|
82
|
+
* Not defined in the parent configs.
|
|
83
|
+
*
|
|
84
|
+
* Prevents misuse of the custom `DefaultMap` class in the standard library.
|
|
85
|
+
*/
|
|
86
|
+
"isaacscript/no-invalid-default-map": "warn",
|
|
87
|
+
|
|
78
88
|
/**
|
|
79
89
|
* Documentation:
|
|
80
90
|
* https://github.com/eslint/eslint/blob/master/docs/rules/no-bitwise.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-isaacscript",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"author": "Zamiell",
|
|
24
24
|
"type": "commonjs"
|
|
25
|
-
}
|
|
25
|
+
}
|
package/CHANGELOG.md
DELETED