@keeex/eslint-config 2.2.0 → 2.2.1

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/package.json CHANGED
@@ -17,10 +17,10 @@
17
17
  "devDependencies": {
18
18
  "@eslint/compat": "^1.2.3",
19
19
  "@eslint/js": "^9.12.0",
20
- "eslint": "^9.14.0",
20
+ "eslint": "^9.15.0",
21
21
  "eslint-import-resolver-typescript": "^3.6.3",
22
22
  "eslint-import-resolver-webpack": "^0.13.9",
23
- "eslint-plugin-import-x": "^4.4.2",
23
+ "eslint-plugin-import-x": "^4.4.3",
24
24
  "eslint-plugin-mocha": "^10.5.0",
25
25
  "eslint-plugin-promise": "^7.1.0",
26
26
  "eslint-plugin-react": "^7.37.2",
@@ -28,7 +28,7 @@
28
28
  "eslint-plugin-tsdoc": "^0.3.0",
29
29
  "globals": "^15.12.0",
30
30
  "prettier": "^3.3.3",
31
- "typescript-eslint": "^8.14.0"
31
+ "typescript-eslint": "^8.15.0"
32
32
  },
33
33
  "files": [
34
34
  "prettier.config.js",
@@ -112,5 +112,5 @@
112
112
  "test": "echo No test for this project"
113
113
  },
114
114
  "type": "module",
115
- "version": "2.2.0"
115
+ "version": "2.2.1"
116
116
  }
@@ -46,7 +46,7 @@ export const apply = (configResult, eslintConfig) => {
46
46
  "jsx-max-depth": ["warn", {max: 8}],
47
47
  "jsx-no-bind": "error",
48
48
  "jsx-no-constructed-context-values": "error",
49
- "jsx-no-leaked-render": "warn",
49
+ "jsx-no-leaked-render": ["warn", {validStrategies: ["coerce"]}],
50
50
  "jsx-no-script-url": "error",
51
51
  "jsx-no-useless-fragment": "warn",
52
52
  "jsx-pascal-case": ["warn", {allowNamespace: true}],
package/src/pathutils.js CHANGED
@@ -3,7 +3,7 @@ const asArray = (value) => {
3
3
  return [value];
4
4
  };
5
5
  const envShorthands = {
6
- library: {mocha: "src/tests/**"},
6
+ library: {mocha: "src/tests/**", node: ""},
7
7
  mobile: {mobile: "src/**"},
8
8
  node: {node: ["", "src/**"], mocha: "src/tests/**"},
9
9
  webapp: {webapp: ["src/**", "webres/*/js/**"]},