@21torr/janus 2.1.10 → 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 +13 -0
- package/_init/library/eslint.config.mjs +10 -2
- package/_init/library/package.json +5 -5
- package/_init/next-js/eslint.config.mjs +22 -3
- package/_init/next-js/package.json +5 -5
- package/package.json +4 -4
- package/.npmignore +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -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,13 +14,13 @@
|
|
|
14
14
|
"test:typescript": "tsc --noEmit --diagnostics"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"dprint": "^0.
|
|
18
|
-
"eslint": "^
|
|
17
|
+
"dprint": "^0.65.0",
|
|
18
|
+
"eslint": "^10.15.0",
|
|
19
19
|
"prettier-package-json": "^2.8.0",
|
|
20
|
-
"stylelint": "^
|
|
21
|
-
"typescript": "^
|
|
20
|
+
"stylelint": "^18.1.0",
|
|
21
|
+
"typescript": "^7.0.2"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=24"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
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,13 +14,13 @@
|
|
|
14
14
|
"test:typescript": "tsc --noEmit --diagnostics"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"dprint": "^0.
|
|
18
|
-
"eslint": "^
|
|
17
|
+
"dprint": "^0.65.0",
|
|
18
|
+
"eslint": "^10.15.0",
|
|
19
19
|
"prettier-package-json": "^2.8.0",
|
|
20
|
-
"stylelint": "^
|
|
21
|
-
"typescript": "^
|
|
20
|
+
"stylelint": "^18.1.0",
|
|
21
|
+
"typescript": "^7.0.2"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=24"
|
|
25
25
|
}
|
|
26
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@21torr/janus",
|
|
3
|
-
"version": "2.1
|
|
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",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"kleur": "^4.1.5",
|
|
31
31
|
"postcss-scss": "^4.0.9",
|
|
32
32
|
"sade": "^1.8.1",
|
|
33
|
-
"stylelint-config-standard": "^
|
|
34
|
-
"stylelint-scss": "^7.
|
|
33
|
+
"stylelint-config-standard": "^41.1.0",
|
|
34
|
+
"stylelint-scss": "^7.5.0",
|
|
35
35
|
"typescript-eslint": "^8.54.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"eslint": "^9.39.2",
|
|
39
39
|
"prettier-package-json": "^2.8.0",
|
|
40
40
|
"publint": "^0.3.17",
|
|
41
|
-
"stylelint": "^
|
|
41
|
+
"stylelint": "^18.1.0"
|
|
42
42
|
},
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|