eslint-config-isaacscript 1.0.63 → 1.0.66
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/LICENSE +9 -0
- package/base.js +5 -18
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 IsaacScript
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/base.js
CHANGED
|
@@ -23,11 +23,10 @@ module.exports = {
|
|
|
23
23
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
24
24
|
|
|
25
25
|
// This provides rules for max comment length that the "--fix" flag can fix
|
|
26
|
-
"plugin:comment-length/recommended",
|
|
26
|
+
"plugin:comment-length-2/recommended",
|
|
27
27
|
|
|
28
|
-
// This provides
|
|
29
|
-
|
|
30
|
-
"plugin:eqeqeq-fix/recommended",
|
|
28
|
+
// This provides extra miscellaneous rules to keep code safe
|
|
29
|
+
"plugin:isaacscript/recommended",
|
|
31
30
|
|
|
32
31
|
// Find unused "eslint-disable" comments
|
|
33
32
|
// https://github.com/mysticatea/eslint-plugin-eslint-comments
|
|
@@ -37,23 +36,11 @@ module.exports = {
|
|
|
37
36
|
// https://github.com/gajus/eslint-plugin-jsdoc
|
|
38
37
|
"plugin:jsdoc/recommended",
|
|
39
38
|
|
|
40
|
-
// This prevents declaring arrays without a type
|
|
41
|
-
// https://github.com/Zamiell/eslint-plugin-no-array-any
|
|
42
|
-
"plugin:no-array-any/recommended",
|
|
43
|
-
|
|
44
39
|
// This prevents implicit iteration of Maps and Sets,
|
|
45
40
|
// which is helpful to prevent bugs when refactoring
|
|
46
41
|
// https://github.com/Zamiell/eslint-plugin-no-implicit-map-set-loops
|
|
47
42
|
"plugin:no-implicit-map-set-loops/recommended",
|
|
48
43
|
|
|
49
|
-
// This prevents declaring variables without a type
|
|
50
|
-
// https://github.com/Zamiell/eslint-plugin-no-let-any
|
|
51
|
-
"plugin:no-let-any/recommended",
|
|
52
|
-
|
|
53
|
-
// This provides a version of the "no-template-curly-in-string" that the "--fix" flag can fix
|
|
54
|
-
// https://github.com/Zamiell/eslint-plugin-no-template-curly-in-string-fix
|
|
55
|
-
"plugin:no-template-curly-in-string-fix/recommended",
|
|
56
|
-
|
|
57
44
|
// This prevents void return types on unexported functions
|
|
58
45
|
// https://github.com/Zamiell/eslint-plugin-no-void-return-type
|
|
59
46
|
"plugin:no-void-return-type/recommended",
|
|
@@ -207,7 +194,7 @@ module.exports = {
|
|
|
207
194
|
// Defined at:
|
|
208
195
|
// https://github.com/lasselupe33/eslint-plugin-comment-length/blob/master/rules/src/index.ts
|
|
209
196
|
// Auto-fix long comments. We specify 100 to match the ruler and the Airbnb style guide.
|
|
210
|
-
"comment-length/limit-multi-line-comments": [
|
|
197
|
+
"comment-length-2/limit-multi-line-comments": [
|
|
211
198
|
"warn",
|
|
212
199
|
{
|
|
213
200
|
maxLength: 100,
|
|
@@ -219,7 +206,7 @@ module.exports = {
|
|
|
219
206
|
// Defined at:
|
|
220
207
|
// https://github.com/lasselupe33/eslint-plugin-comment-length/blob/master/rules/src/index.ts
|
|
221
208
|
// Auto-fix long comments. We specify 100 to match the ruler and the Airbnb style guide.
|
|
222
|
-
"comment-length/limit-single-line-comments": [
|
|
209
|
+
"comment-length-2/limit-single-line-comments": [
|
|
223
210
|
"warn",
|
|
224
211
|
{
|
|
225
212
|
maxLength: 100,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-isaacscript",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66",
|
|
4
4
|
"description": "An ESLint config for IsaacScript projects.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/IsaacScript/eslint-config-isaacscript.git"
|
|
8
8
|
},
|
|
9
|
-
"license": "
|
|
9
|
+
"license": "MIT",
|
|
10
10
|
"author": "Zamiell",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"prettier": "^2.6.2"
|