@pkmn/eslint-config 1.11.0 → 2.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/LICENSE +2 -2
- package/index.js +0 -4
- package/package.json +6 -7
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2020 pkmn contributors
|
|
3
|
+
Copyright (c) 2020-2022 pkmn contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
this software and associated documentation files (the "Software"), to deal in
|
|
@@ -17,4 +17,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
|
17
17
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
18
18
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
19
19
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
20
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/index.js
CHANGED
|
@@ -175,9 +175,6 @@ module.exports = {
|
|
|
175
175
|
"plugin:@typescript-eslint/recommended",
|
|
176
176
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
177
177
|
],
|
|
178
|
-
"plugins": [
|
|
179
|
-
"import"
|
|
180
|
-
],
|
|
181
178
|
"rules": {
|
|
182
179
|
// TODO revisit
|
|
183
180
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
@@ -212,7 +209,6 @@ module.exports = {
|
|
|
212
209
|
"@typescript-eslint/no-misused-new": "error",
|
|
213
210
|
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
214
211
|
"@typescript-eslint/return-await": ["error", "in-try-catch"],
|
|
215
|
-
"import/no-extraneous-dependencies": "error",
|
|
216
212
|
"no-dupe-class-members": "off",
|
|
217
213
|
"no-unused-expressions": ["error", {"allowTernary": true}], // ternary is used to convert callbacks to Promises
|
|
218
214
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pkmn/eslint-config",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "ESLint configuration from @pkmn based on Pokémon Showdown's style",
|
|
5
5
|
"repository": "github:pkmn/eslint-config",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,11 +11,10 @@
|
|
|
11
11
|
"index.js"
|
|
12
12
|
],
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@typescript-eslint/eslint-plugin": ">=5.
|
|
15
|
-
"@typescript-eslint/parser": ">=5.
|
|
16
|
-
"eslint-plugin-
|
|
17
|
-
"eslint
|
|
18
|
-
"
|
|
19
|
-
"typescript": ">=4.4"
|
|
14
|
+
"@typescript-eslint/eslint-plugin": ">=5.10",
|
|
15
|
+
"@typescript-eslint/parser": ">=5.10",
|
|
16
|
+
"eslint-plugin-jest": ">=26.0",
|
|
17
|
+
"eslint": ">=8.8",
|
|
18
|
+
"typescript": ">=4.5"
|
|
20
19
|
}
|
|
21
20
|
}
|