@pkmn/eslint-config 1.10.0 → 2.2.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.
Files changed (2) hide show
  1. package/index.js +0 -4
  2. package/package.json +6 -7
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": "1.10.0",
3
+ "version": "2.2.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.2",
15
- "@typescript-eslint/parser": ">=5.2",
16
- "eslint-plugin-import": ">=2.25",
17
- "eslint-plugin-jest": ">=25.2",
18
- "eslint": ">=8.1",
19
- "typescript": ">=4.4"
14
+ "@typescript-eslint/eslint-plugin": ">=5.8",
15
+ "@typescript-eslint/parser": ">=5.8",
16
+ "eslint-plugin-jest": ">=25.3",
17
+ "eslint": ">=8.6",
18
+ "typescript": ">=4.5"
20
19
  }
21
20
  }