@frsource/eslint-config 1.13.0 → 1.14.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 +3 -3
- package/javascript.mjs +2 -2
- package/package.json +5 -5
- package/typescript.d.mts +3 -3
- package/typescript.mjs +1 -6
package/javascript.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @type { import("eslint").Linter.
|
|
2
|
-
export const overrides: import("eslint").Linter.
|
|
3
|
-
declare const _default: import("eslint").Linter.
|
|
1
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
2
|
+
export const overrides: import("eslint").Linter.Config[];
|
|
3
|
+
declare const _default: import("eslint").Linter.Config[];
|
|
4
4
|
export default _default;
|
package/javascript.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import js from '@eslint/js';
|
|
|
3
3
|
import globals from 'globals';
|
|
4
4
|
import { env } from 'node:process';
|
|
5
5
|
|
|
6
|
-
/** @type { import("eslint").Linter.
|
|
6
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
7
7
|
export const overrides = [
|
|
8
8
|
{
|
|
9
9
|
rules: {
|
|
@@ -47,5 +47,5 @@ export const overrides = [
|
|
|
47
47
|
},
|
|
48
48
|
];
|
|
49
49
|
|
|
50
|
-
/** @type { import("eslint").Linter.
|
|
50
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
51
51
|
export default [js.configs.recommended, prettier, ...overrides];
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frsource/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"main": "index.mjs",
|
|
5
5
|
"types": "index.d.mts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@eslint/js": "^9.1.1",
|
|
9
|
-
"@typescript-eslint/eslint-plugin": "
|
|
10
|
-
"@typescript-eslint/parser": "
|
|
9
|
+
"@typescript-eslint/eslint-plugin": "8.4.0",
|
|
10
|
+
"@typescript-eslint/parser": "8.4.0",
|
|
11
11
|
"eslint-config-prettier": "9.1.0",
|
|
12
12
|
"globals": "^15.0.0",
|
|
13
|
-
"typescript-eslint": "^
|
|
13
|
+
"typescript-eslint": "^8.0.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@types/eslint": "^
|
|
16
|
+
"@types/eslint": "^9.0.0",
|
|
17
17
|
"eslint": "^9.1.0",
|
|
18
18
|
"release-it": "^17.2.0",
|
|
19
19
|
"typescript": "^5.4.5",
|
package/typescript.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @type { import("eslint").Linter.
|
|
2
|
-
export const overrides: import("eslint").Linter.
|
|
3
|
-
declare const _default: typeof import("typescript-eslint")[
|
|
1
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
2
|
+
export const overrides: import("eslint").Linter.Config[];
|
|
3
|
+
declare const _default: typeof import("typescript-eslint")["config"];
|
|
4
4
|
export default _default;
|
package/typescript.mjs
CHANGED
|
@@ -4,13 +4,8 @@ import ts from 'typescript-eslint';
|
|
|
4
4
|
import globals from 'globals';
|
|
5
5
|
import { overrides as javascriptOverrides } from './javascript.mjs';
|
|
6
6
|
|
|
7
|
-
/** @type { import("eslint").Linter.
|
|
7
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
8
8
|
export const overrides = [
|
|
9
|
-
{
|
|
10
|
-
rules: {
|
|
11
|
-
'@typescript-eslint/semi': 2,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
9
|
{
|
|
15
10
|
files: ['.*.{ts,mts,tsx}', '*.config.{ts,mts,tsx}'],
|
|
16
11
|
languageOptions: {
|