@21torr/janus 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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 2.2.1
2
+ =====
3
+
4
+ * (improvement) Bump ESLint to v10.
5
+
6
+
1
7
  2.2.0
2
8
  =====
3
9
 
@@ -1,6 +1,7 @@
1
+ import {defineConfig} from "eslint/config";
1
2
  import eslint21TORR from "../../eslint/base.mjs";
2
3
 
3
- export default [
4
+ export default defineConfig([
4
5
  ...eslint21TORR,
5
6
  {
6
7
  name: "App Settings",
@@ -11,4 +12,11 @@ export default [
11
12
  },
12
13
  },
13
14
  },
14
- ];
15
+ {
16
+ settings: {
17
+ react: {
18
+ version: "19",
19
+ },
20
+ },
21
+ },
22
+ ]);
@@ -14,11 +14,11 @@
14
14
  "test:typescript": "tsc --noEmit --diagnostics"
15
15
  },
16
16
  "devDependencies": {
17
- "dprint": "^0.51.1",
18
- "eslint": "^9.39.2",
17
+ "dprint": "^0.65.0",
18
+ "eslint": "^10.15.0",
19
19
  "prettier-package-json": "^2.8.0",
20
20
  "stylelint": "^18.1.0",
21
- "typescript": "^5.9.3"
21
+ "typescript": "^7.0.2"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=24"
@@ -1,6 +1,7 @@
1
- import eslint21TORR from "../../eslint/next-js.mjs";
1
+ import {defineConfig, globalIgnores} from "eslint/config";
2
+ import eslint21TORR from "@21torr/janus/eslint/next-js.mjs";
2
3
 
3
- export default [
4
+ export default defineConfig([
4
5
  ...eslint21TORR,
5
6
  {
6
7
  name: "App Settings",
@@ -11,4 +12,22 @@ export default [
11
12
  },
12
13
  },
13
14
  },
14
- ];
15
+ globalIgnores([
16
+ // Default ignores of eslint-config-next:
17
+ ".next/**",
18
+ "out/**",
19
+ "build/**",
20
+ "next-env.d.ts",
21
+ ]),
22
+ {
23
+ settings: {
24
+ react: {
25
+ version: "19",
26
+ },
27
+ },
28
+ rules: {
29
+ // this rule crashes right now, so disabling it
30
+ "react/jsx-filename-extension": "off",
31
+ },
32
+ },
33
+ ]);
@@ -14,11 +14,11 @@
14
14
  "test:typescript": "tsc --noEmit --diagnostics"
15
15
  },
16
16
  "devDependencies": {
17
- "dprint": "^0.51.1",
18
- "eslint": "^9.39.2",
17
+ "dprint": "^0.65.0",
18
+ "eslint": "^10.15.0",
19
19
  "prettier-package-json": "^2.8.0",
20
20
  "stylelint": "^18.1.0",
21
- "typescript": "^5.9.3"
21
+ "typescript": "^7.0.2"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=24"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@21torr/janus",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "All config files and tools for code style tools, formatters and linters for TS / JS / SCSS / CSS.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/21TORR/janus-ts",