@signpostmarv/eslint-config 0.2.1 → 0.3.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.ts +9 -37
- package/javascript.js +2 -1
- package/package.json +12 -7
- package/typescript.d.ts +9 -37
- package/typescript.js +2 -1
package/javascript.d.ts
CHANGED
|
@@ -1,38 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
})[];
|
|
11
|
-
'comma-dangle': string[];
|
|
12
|
-
indent: (string | {
|
|
13
|
-
ignoredNodes: string[];
|
|
14
|
-
ImportDeclaration: number;
|
|
15
|
-
})[];
|
|
16
|
-
'max-len': (string | number | {
|
|
17
|
-
ignoreTemplateLiterals: boolean;
|
|
18
|
-
})[];
|
|
19
|
-
'object-curly-newline': (string | {
|
|
20
|
-
ImportDeclaration: string;
|
|
21
|
-
})[];
|
|
22
|
-
'operator-linebreak': (string | {
|
|
23
|
-
overrides: {
|
|
24
|
-
'?': string;
|
|
25
|
-
':': string;
|
|
26
|
-
'&&': string;
|
|
27
|
-
'||': string;
|
|
28
|
-
};
|
|
29
|
-
})[];
|
|
30
|
-
'sort-imports': (string | {
|
|
31
|
-
ignoreCase: boolean;
|
|
32
|
-
ignoreDeclarationSort: boolean;
|
|
33
|
-
ignoreMemberSort: boolean;
|
|
34
|
-
memberSyntaxSortOrder: string[];
|
|
35
|
-
})[];
|
|
36
|
-
};
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
export declare const javascript: ({
|
|
3
|
+
readonly rules: Readonly<Linter.RulesRecord>;
|
|
4
|
+
} | {
|
|
5
|
+
name?: string;
|
|
6
|
+
rules?: object;
|
|
7
|
+
} | {
|
|
8
|
+
ignores: string[];
|
|
37
9
|
})[];
|
|
38
|
-
export default
|
|
10
|
+
export default javascript;
|
package/javascript.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import js from '@eslint/js';
|
|
2
2
|
import typescript_eslint from 'typescript-eslint';
|
|
3
|
-
export
|
|
3
|
+
export const javascript = [
|
|
4
4
|
js.configs.recommended,
|
|
5
5
|
...typescript_eslint.configs.recommended,
|
|
6
6
|
{
|
|
@@ -81,3 +81,4 @@ export default [
|
|
|
81
81
|
ignores: ['**/*.d.ts'],
|
|
82
82
|
},
|
|
83
83
|
];
|
|
84
|
+
export default javascript;
|
package/package.json
CHANGED
|
@@ -11,18 +11,23 @@
|
|
|
11
11
|
"exports": "./index.js",
|
|
12
12
|
"types": "./index.d.ts",
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@eslint/js": "9.
|
|
14
|
+
"@eslint/js": "^9.34.0",
|
|
15
15
|
"@types/eslint": "^9.6.1",
|
|
16
16
|
"@types/node": "^22.13.10",
|
|
17
|
+
"@typescript-eslint/parser": "^8.42.0",
|
|
17
18
|
"c8": "^10.1.3",
|
|
19
|
+
"jiti": "^2.5.1",
|
|
18
20
|
"prettier": "^3.5.3",
|
|
19
|
-
"
|
|
20
|
-
"typescript": "
|
|
21
|
-
"typescript-eslint": "8.26.1"
|
|
21
|
+
"typescript": "~5.9.2",
|
|
22
|
+
"typescript-eslint": "^8.42.0"
|
|
22
23
|
},
|
|
23
24
|
"peerDependencies": {
|
|
24
|
-
"@eslint/js": "^9.
|
|
25
|
-
"
|
|
25
|
+
"@eslint/js": "^9.34.0",
|
|
26
|
+
"@types/eslint": "^9.6.1",
|
|
27
|
+
"typescript-eslint": "^8.42.0"
|
|
28
|
+
},
|
|
29
|
+
"optionalDependencies": {
|
|
30
|
+
"@typescript-eslint/parser": "^8.42.0"
|
|
26
31
|
},
|
|
27
|
-
"version": "0.
|
|
32
|
+
"version": "0.3.0"
|
|
28
33
|
}
|
package/typescript.d.ts
CHANGED
|
@@ -1,38 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
})[];
|
|
11
|
-
'comma-dangle': string[];
|
|
12
|
-
indent: (string | {
|
|
13
|
-
ignoredNodes: string[];
|
|
14
|
-
ImportDeclaration: number;
|
|
15
|
-
})[];
|
|
16
|
-
'max-len': (string | number | {
|
|
17
|
-
ignoreTemplateLiterals: boolean;
|
|
18
|
-
})[];
|
|
19
|
-
'object-curly-newline': (string | {
|
|
20
|
-
ImportDeclaration: string;
|
|
21
|
-
})[];
|
|
22
|
-
'operator-linebreak': (string | {
|
|
23
|
-
overrides: {
|
|
24
|
-
'?': string;
|
|
25
|
-
':': string;
|
|
26
|
-
'&&': string;
|
|
27
|
-
'||': string;
|
|
28
|
-
};
|
|
29
|
-
})[];
|
|
30
|
-
'sort-imports': (string | {
|
|
31
|
-
ignoreCase: boolean;
|
|
32
|
-
ignoreDeclarationSort: boolean;
|
|
33
|
-
ignoreMemberSort: boolean;
|
|
34
|
-
memberSyntaxSortOrder: string[];
|
|
35
|
-
})[];
|
|
36
|
-
};
|
|
1
|
+
import type { Linter } from 'eslint';
|
|
2
|
+
export declare const typescript: ({
|
|
3
|
+
readonly rules: Readonly<Linter.RulesRecord>;
|
|
4
|
+
} | {
|
|
5
|
+
name?: string;
|
|
6
|
+
rules?: object;
|
|
7
|
+
} | {
|
|
8
|
+
ignores: string[];
|
|
37
9
|
})[];
|
|
38
|
-
export default
|
|
10
|
+
export default typescript;
|
package/typescript.js
CHANGED