@pkmn/eslint-config 5.3.0 → 6.0.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 +2 -2
  2. package/package.json +6 -6
package/index.js CHANGED
@@ -142,7 +142,7 @@ module.exports = {
142
142
  "eol-last": ["error", "always"],
143
143
  "func-call-spacing": "error",
144
144
  "function-paren-newline": ["error", "consistent"],
145
- "indent": ["error", 2, {"flatTernaryExpressions": true}],
145
+ "indent": ["error", 2, {"flatTernaryExpressions": true, "SwitchCase": 1}],
146
146
  "key-spacing": "error",
147
147
  "keyword-spacing": ["error", {"before": true, "after": true}],
148
148
  "lines-around-comment": "off",
@@ -258,7 +258,7 @@ module.exports = {
258
258
 
259
259
  // overriding base
260
260
  "indent": "off",
261
- "@typescript-eslint/indent": ["error", 2, {"flatTernaryExpressions": true}],
261
+ "@typescript-eslint/indent": ["error", 2, {"flatTernaryExpressions": true, "SwitchCase": 1}],
262
262
  "no-use-before-define": "off",
263
263
  "@typescript-eslint/no-use-before-define": ["error", {"functions": false, "classes": false, "variables": false}],
264
264
  "no-shadow": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pkmn/eslint-config",
3
- "version": "5.3.0",
3
+ "version": "6.0.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,11 @@
11
11
  "index.js"
12
12
  ],
13
13
  "peerDependencies": {
14
- "@typescript-eslint/eslint-plugin": ">=6.7",
15
- "@typescript-eslint/parser": ">=6.7",
16
- "eslint": ">=8.50",
17
- "eslint-plugin-import": ">=2.28",
18
- "eslint-plugin-jest": ">=27.4",
14
+ "@typescript-eslint/eslint-plugin": ">=6.9",
15
+ "@typescript-eslint/parser": ">=6.9",
16
+ "eslint": ">=8.52",
17
+ "eslint-plugin-import": ">=2.29",
18
+ "eslint-plugin-jest": ">=27.6",
19
19
  "typescript": ">=5.2"
20
20
  }
21
21
  }