@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 CHANGED
@@ -1,38 +1,10 @@
1
- declare const _default: ({
2
- readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
3
- } | import("@typescript-eslint/utils/ts-eslint").FlatConfig.Config | {
4
- rules: {
5
- '@typescript-eslint/member-ordering': (string | {
6
- default: {
7
- memberTypes: string[];
8
- order: string;
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 _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 default [
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.22.0",
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
- "ts-node": "^10.9.2",
20
- "typescript": "~5.8.2",
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.22.0",
25
- "typescript-eslint": "^8.26.1"
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.2.1"
32
+ "version": "0.3.0"
28
33
  }
package/typescript.d.ts CHANGED
@@ -1,38 +1,10 @@
1
- declare const _default: ({
2
- readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
3
- } | import("@typescript-eslint/utils/ts-eslint").FlatConfig.Config | {
4
- rules: {
5
- '@typescript-eslint/member-ordering': (string | {
6
- default: {
7
- memberTypes: string[];
8
- order: string;
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 _default;
10
+ export default typescript;
package/typescript.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import config from './javascript.js';
2
2
  import typescript_eslint from 'typescript-eslint';
3
- export default [
3
+ export const typescript = [
4
4
  ...config,
5
5
  ...typescript_eslint.configs.recommendedTypeChecked,
6
6
  ];
7
+ export default typescript;