@frsource/eslint-config 1.69.0 → 1.70.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.
- package/javascript.d.mts +1 -3
- package/javascript.mjs +2 -2
- package/package.json +7 -8
- package/typescript.d.mts +2 -3
- package/typescript.mjs +2 -3
package/javascript.d.mts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/** @type { import("eslint").Linter.Config[] } */
|
|
2
2
|
export const overrides: import("eslint").Linter.Config[];
|
|
3
|
-
declare const _default:
|
|
4
|
-
readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
|
|
5
|
-
})[];
|
|
3
|
+
declare const _default: import("eslint/config").Config[];
|
|
6
4
|
export default _default;
|
package/javascript.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import prettier from 'eslint-config-prettier';
|
|
2
|
+
import { defineConfig } from 'eslint/config';
|
|
2
3
|
import js from '@eslint/js';
|
|
3
4
|
import globals from 'globals';
|
|
4
5
|
import { env } from 'node:process';
|
|
@@ -47,5 +48,4 @@ export const overrides = [
|
|
|
47
48
|
},
|
|
48
49
|
];
|
|
49
50
|
|
|
50
|
-
|
|
51
|
-
export default [js.configs.recommended, prettier, ...overrides];
|
|
51
|
+
export default defineConfig(js.configs.recommended, prettier, ...overrides);
|
package/package.json
CHANGED
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frsource/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.70.0",
|
|
4
4
|
"main": "index.mjs",
|
|
5
5
|
"types": "index.d.mts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@eslint/js": "^
|
|
9
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
10
|
-
"@typescript-eslint/parser": "8.
|
|
8
|
+
"@eslint/js": "^10.0.0",
|
|
9
|
+
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
10
|
+
"@typescript-eslint/parser": "8.56.1",
|
|
11
11
|
"eslint-config-prettier": "10.1.8",
|
|
12
12
|
"globals": "^17.0.0",
|
|
13
13
|
"typescript-eslint": "^8.0.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"
|
|
17
|
-
"eslint": "^9.1.0",
|
|
16
|
+
"eslint": "^10.0.0",
|
|
18
17
|
"prettier": "^3.2.5",
|
|
19
18
|
"release-it": "^19.0.0",
|
|
20
19
|
"typescript": "^5.4.5",
|
|
21
20
|
"@frsource/prettier-config": "1.38.0",
|
|
22
|
-
"@frsource/release-it-config": "1.
|
|
21
|
+
"@frsource/release-it-config": "1.49.0"
|
|
23
22
|
},
|
|
24
23
|
"peerDependencies": {
|
|
25
|
-
"eslint": ">=
|
|
24
|
+
"eslint": ">= 10",
|
|
26
25
|
"typescript": ">= 5.0.0"
|
|
27
26
|
},
|
|
28
27
|
"homepage": "https://github.com/FRSOURCE/toolkit/tree/main/packages/eslint-config",
|
package/typescript.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/** @type { import("eslint").Linter.Config[] } */
|
|
2
2
|
export const overrides: import("eslint").Linter.Config[];
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare const rules: ReturnType<typeof import("typescript-eslint")["config"]>;
|
|
3
|
+
declare const _default: import("eslint/config").Config[];
|
|
4
|
+
export default _default;
|
package/typescript.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import js from '@eslint/js';
|
|
|
3
3
|
import ts from 'typescript-eslint';
|
|
4
4
|
import globals from 'globals';
|
|
5
5
|
import { overrides as javascriptOverrides } from './javascript.mjs';
|
|
6
|
+
import { defineConfig } from 'eslint/config';
|
|
6
7
|
|
|
7
8
|
/** @type { import("eslint").Linter.Config[] } */
|
|
8
9
|
export const overrides = [
|
|
@@ -17,11 +18,9 @@ export const overrides = [
|
|
|
17
18
|
...javascriptOverrides,
|
|
18
19
|
];
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
const rules = ts.config(
|
|
21
|
+
export default defineConfig(
|
|
22
22
|
js.configs.recommended,
|
|
23
23
|
...ts.configs.strict,
|
|
24
24
|
prettier,
|
|
25
25
|
...overrides,
|
|
26
26
|
);
|
|
27
|
-
export default rules;
|