@dvukovic/style-guide 0.21.0 → 0.23.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.
@@ -9,4 +9,8 @@
9
9
  export function core(config?: import("@eslint/config-helpers").ConfigWithExtends & {
10
10
  additionalFiles?: string[];
11
11
  }): import("@eslint/config-helpers").ConfigWithExtends;
12
- export const coreConfig: import("@eslint/config-helpers").Config[];
12
+ export const coreConfig: (import("@eslint/config-helpers").Config | {
13
+ linterOptions: {
14
+ reportUnusedDisableDirectives: string;
15
+ };
16
+ })[];
@@ -20,7 +20,7 @@ export { react } from "./configs/react.js";
20
20
  export { storybook } from "./configs/storybook.js";
21
21
  export { tanstackQuery } from "./configs/tanstack-query.js";
22
22
  export { turbo } from "./configs/turbo.js";
23
- export { typescript } from "./configs/typescript.js";
24
23
  export { typescriptStrict } from "./configs/typescript-strict.js";
24
+ export { typescript } from "./configs/typescript.js";
25
25
  export { vitest } from "./configs/vitest.js";
26
26
  export { packageJson, packageJsonWorkspace } from "./configs/package-json.js";
@@ -0,0 +1,2 @@
1
+ /** @type {import("@eslint/config-helpers").Config} */
2
+ export const perfectionist: import("@eslint/config-helpers").Config;
@@ -1,7 +1,7 @@
1
1
  export namespace noT {
2
2
  function create(context: any): {
3
- "TSTypeParameter > Identifier[name=/^.$/]"(node: any): void;
4
3
  "TSTypeParameter > Identifier[name=/^.{2,}$/]"(node: any): void;
4
+ "TSTypeParameter > Identifier[name=/^.$/]"(node: any): void;
5
5
  };
6
6
  namespace meta {
7
7
  namespace docs {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvukovic/style-guide",
3
- "version": "0.21.0",
3
+ "version": "0.23.0",
4
4
  "description": "My own style guide",
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,72 +60,68 @@
60
60
  "test": "vitest run"
61
61
  },
62
62
  "dependencies": {
63
- "@clack/prompts": "0.11.0",
64
- "@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
65
- "@eslint/config-helpers": "0.5.1",
66
- "@next/eslint-plugin-next": "16.1.4",
67
- "@rimac-technology/eslint-plugin": "1.5.0",
68
- "@stylistic/eslint-plugin": "5.7.1",
69
- "@tanstack/eslint-plugin-query": "5.91.4",
70
- "@typescript-eslint/parser": "8.53.1",
71
- "@vitest/eslint-plugin": "1.6.9",
63
+ "@clack/prompts": "1.1.0",
64
+ "@eslint-community/eslint-plugin-eslint-comments": "4.7.1",
65
+ "@eslint/config-helpers": "0.5.3",
66
+ "@next/eslint-plugin-next": "16.2.1",
67
+ "@stylistic/eslint-plugin": "5.10.0",
68
+ "@tanstack/eslint-plugin-query": "5.94.5",
69
+ "@typescript-eslint/parser": "8.57.1",
70
+ "@vitest/eslint-plugin": "1.6.12",
72
71
  "eslint-plugin-array-func": "5.1.1",
73
- "eslint-plugin-baseline-js": "0.4.2",
74
- "eslint-plugin-import-x": "4.16.1",
75
- "eslint-plugin-jest": "29.12.1",
76
- "eslint-plugin-mobx": "0.0.13",
77
- "eslint-plugin-n": "17.23.2",
78
- "eslint-plugin-package-json": "0.88.2",
79
- "eslint-plugin-playwright": "2.5.0",
72
+ "eslint-plugin-baseline-js": "0.6.1",
73
+ "eslint-plugin-import-x": "4.16.2",
74
+ "eslint-plugin-jest": "29.15.0",
75
+ "eslint-plugin-mobx": "0.0.14",
76
+ "eslint-plugin-n": "17.24.0",
77
+ "eslint-plugin-package-json": "0.91.0",
78
+ "eslint-plugin-perfectionist": "5.7.0",
79
+ "eslint-plugin-playwright": "2.10.1",
80
80
  "eslint-plugin-promise": "7.2.1",
81
81
  "eslint-plugin-react": "7.37.5",
82
82
  "eslint-plugin-react-hooks": "7.0.1",
83
83
  "eslint-plugin-security-node": "1.1.4",
84
- "eslint-plugin-simple-import-sort": "12.1.1",
85
- "eslint-plugin-sonarjs": "3.0.5",
86
- "eslint-plugin-sort-destructure-keys": "2.0.0",
87
- "eslint-plugin-sort-keys-fix": "1.1.2",
88
- "eslint-plugin-storybook": "10.2.0",
89
- "eslint-plugin-turbo": "2.8.1",
90
- "eslint-plugin-typescript-sort-keys": "3.3.0",
91
- "eslint-plugin-unicorn": "62.0.0",
92
- "eslint-plugin-unused-imports": "4.3.0",
93
- "globals": "17.1.0",
94
- "jsonc-eslint-parser": "2.4.2",
84
+ "eslint-plugin-sonarjs": "4.0.2",
85
+ "eslint-plugin-storybook": "10.3.1",
86
+ "eslint-plugin-turbo": "2.8.20",
87
+ "eslint-plugin-unicorn": "63.0.0",
88
+ "eslint-plugin-unused-imports": "4.4.1",
89
+ "globals": "17.4.0",
90
+ "jsonc-eslint-parser": "3.1.0",
95
91
  "postcss-resolve-nested-selector": "0.1.6",
96
92
  "postcss-selector-parser": "7.1.1",
97
93
  "prettier-plugin-embed": "0.5.1",
98
94
  "prettier-plugin-jsdoc": "1.8.0",
99
- "prettier-plugin-packagejson": "3.0.0",
95
+ "prettier-plugin-packagejson": "3.0.2",
100
96
  "prettier-plugin-prisma": "5.0.0",
101
97
  "prettier-plugin-sh": "0.18.0",
102
- "prettier-plugin-sql": "0.19.2",
98
+ "prettier-plugin-sql": "0.20.0",
103
99
  "prettier-plugin-tailwindcss": "0.7.2",
104
100
  "prettier-plugin-toml": "2.0.6",
105
- "stylelint-order": "7.0.1",
106
- "typescript-eslint": "8.53.1"
101
+ "stylelint-order": "8.1.1",
102
+ "typescript-eslint": "8.57.1"
107
103
  },
108
104
  "devDependencies": {
109
- "@release-it/conventional-changelog": "10.0.4",
110
- "@types/node": "24.10.9",
105
+ "@release-it/conventional-changelog": "10.0.6",
106
+ "@types/node": "25.5.0",
111
107
  "@types/semver": "7.7.1",
112
- "cspell": "9.6.0",
113
- "eslint": "9.39.2",
114
- "knip": "5.82.1",
108
+ "cspell": "9.7.0",
109
+ "eslint": "9.39.4",
110
+ "knip": "6.0.1",
115
111
  "prettier": "3.8.1",
116
112
  "release-it": "19.2.4",
117
- "semver": "7.7.3",
118
- "storybook": "10.2.3",
119
- "stylelint": "16.26.1",
113
+ "semver": "7.7.4",
114
+ "storybook": "10.3.1",
115
+ "stylelint": "17.5.0",
120
116
  "typescript": "5.9.3",
121
- "vitest": "4.0.18"
117
+ "vitest": "4.1.0"
122
118
  },
123
119
  "peerDependencies": {
124
120
  "cspell": "9",
125
121
  "eslint": "^9",
126
- "knip": "5",
122
+ "knip": ">=5",
127
123
  "prettier": "3",
128
- "stylelint": "16",
124
+ "stylelint": ">=16",
129
125
  "typescript": "5"
130
126
  },
131
127
  "peerDependenciesMeta": {
package/src/cli/index.js CHANGED
@@ -8,6 +8,7 @@ const command = process.argv[2]
8
8
 
9
9
  if (command === "init") {
10
10
  intro("@dvukovic/style-guide")
11
+ // eslint-disable-next-line baseline-js/use-baseline -- Node.js CLI, not browser code
11
12
  await runInit()
12
13
  outro("Configuration complete!")
13
14
  } else {
@@ -2,31 +2,30 @@ import { ALL_JS_TS_FILES } from "../file-patterns.js"
2
2
  import { arrayFunction } from "../plugins/array-function.js"
3
3
  import { baseline } from "../plugins/baseline.js"
4
4
  import { dvukovic } from "../plugins/dvukovic.js"
5
- import { eslint } from "../plugins/eslint.js"
6
5
  import { eslintComments } from "../plugins/eslint-comments.js"
6
+ import { eslint } from "../plugins/eslint.js"
7
7
  import { importX } from "../plugins/import-x.js"
8
+ import { perfectionist } from "../plugins/perfectionist.js"
8
9
  import { promise } from "../plugins/promise.js"
9
- import { rimac } from "../plugins/rimac.js"
10
- import { simpleImportSort } from "../plugins/simple-import-sort.js"
11
10
  import { sonarjs } from "../plugins/sonarjs.js"
12
- import { sortDestructureKeys } from "../plugins/sort-destructure-keys.js"
13
- import { sortKeysFix } from "../plugins/sort-keys-fix.js"
14
11
  import { stylistic } from "../plugins/stylistic.js"
15
12
  import { unicorn } from "../plugins/unicorn.js"
16
13
  import { unusedImports } from "../plugins/unused-imports.js"
17
14
 
18
15
  export const coreConfig = [
16
+ {
17
+ linterOptions: {
18
+ reportUnusedDisableDirectives: "error",
19
+ },
20
+ },
19
21
  arrayFunction,
20
22
  baseline,
21
23
  eslint,
22
24
  eslintComments,
23
25
  importX,
24
26
  promise,
25
- rimac,
26
- simpleImportSort,
27
+ perfectionist,
27
28
  sonarjs,
28
- sortDestructureKeys,
29
- sortKeysFix,
30
29
  stylistic,
31
30
  unicorn,
32
31
  unusedImports,
@@ -1,6 +1,6 @@
1
1
  import { REACT_FILES } from "../file-patterns.js"
2
- import { react as reactPlugin } from "../plugins/react.js"
3
2
  import { reactHooks as reactHooksPlugin } from "../plugins/react-hooks.js"
3
+ import { react as reactPlugin } from "../plugins/react.js"
4
4
 
5
5
  export const reactConfig = [reactPlugin, reactHooksPlugin]
6
6
 
@@ -2,7 +2,6 @@ import tseslint from "typescript-eslint"
2
2
 
3
3
  import { ALL_JS_TS_FILES, TS_FILES } from "../file-patterns.js"
4
4
  import { typescriptEslint } from "../plugins/typescript-eslint.js"
5
- import { typescriptSortKeys } from "../plugins/typescript-sort-keys.js"
6
5
 
7
6
  /** @type {import("eslint").Linter.Config[]} */
8
7
  export const typescriptConfig = [
@@ -20,10 +19,6 @@ export const typescriptConfig = [
20
19
  files: [...TS_FILES, "**/*.tsx"],
21
20
  ...typescriptEslint,
22
21
  },
23
- {
24
- files: [...TS_FILES, "**/*.tsx"],
25
- ...typescriptSortKeys,
26
- },
27
22
  ]
28
23
 
29
24
  /**
@@ -39,6 +39,6 @@ export { react } from "./configs/react.js"
39
39
  export { storybook } from "./configs/storybook.js"
40
40
  export { tanstackQuery } from "./configs/tanstack-query.js"
41
41
  export { turbo } from "./configs/turbo.js"
42
- export { typescript } from "./configs/typescript.js"
43
42
  export { typescriptStrict } from "./configs/typescript-strict.js"
43
+ export { typescript } from "./configs/typescript.js"
44
44
  export { vitest } from "./configs/vitest.js"
@@ -9,7 +9,6 @@ export const eslintComments = {
9
9
  "@eslint-community/eslint-comments/no-aggregating-enable": "error",
10
10
  "@eslint-community/eslint-comments/no-duplicate-disable": "error",
11
11
  "@eslint-community/eslint-comments/no-unlimited-disable": "error",
12
- "@eslint-community/eslint-comments/no-unused-disable": "error",
13
12
  "@eslint-community/eslint-comments/no-unused-enable": "error",
14
13
  "@eslint-community/eslint-comments/require-description": "error",
15
14
  },
@@ -28,9 +28,11 @@ export const nodeN = {
28
28
  ],
29
29
  "n/prefer-global/buffer": "error",
30
30
  "n/prefer-global/console": "error",
31
+ "n/prefer-global/crypto": "error",
31
32
  "n/prefer-global/process": "error",
32
33
  "n/prefer-global/text-decoder": "error",
33
34
  "n/prefer-global/text-encoder": "error",
35
+ "n/prefer-global/timers": "error",
34
36
  "n/prefer-global/url": "error",
35
37
  "n/prefer-global/url-search-params": "error",
36
38
  "n/prefer-node-protocol": "error",
@@ -1,5 +1,5 @@
1
1
  import plugin from "eslint-plugin-package-json"
2
- import jsoncParser from "jsonc-eslint-parser"
2
+ import * as jsoncParser from "jsonc-eslint-parser"
3
3
 
4
4
  import { noRestrictedDependencies } from "../rules/no-restricted-dependencies/no-restricted-dependencies.js"
5
5
  import { requireProperties } from "../rules/require-properties/require-properties.js"
@@ -66,6 +66,7 @@ export const packageJson = {
66
66
  "package-json/unique-dependencies": "error",
67
67
  "package-json/valid-author": "error",
68
68
  "package-json/valid-bin": "error",
69
+ "package-json/valid-bugs": "error",
69
70
  "package-json/valid-bundleDependencies": "error",
70
71
  "package-json/valid-config": "error",
71
72
  "package-json/valid-contributors": "error",
@@ -73,10 +74,12 @@ export const packageJson = {
73
74
  "package-json/valid-dependencies": "error",
74
75
  "package-json/valid-description": "error",
75
76
  "package-json/valid-devDependencies": "error",
77
+ "package-json/valid-devEngines": "error",
76
78
  "package-json/valid-directories": "error",
77
79
  "package-json/valid-engines": "error",
78
80
  "package-json/valid-exports": "error",
79
81
  "package-json/valid-files": "error",
82
+ "package-json/valid-funding": "error",
80
83
  "package-json/valid-homepage": "error",
81
84
  "package-json/valid-keywords": "error",
82
85
  "package-json/valid-license": "error",
@@ -87,6 +90,7 @@ export const packageJson = {
87
90
  "package-json/valid-optionalDependencies": "error",
88
91
  "package-json/valid-os": "error",
89
92
  "package-json/valid-package-definition": "error",
93
+ "package-json/valid-packageManager": "error",
90
94
  "package-json/valid-peerDependencies": "error",
91
95
  "package-json/valid-private": "error",
92
96
  "package-json/valid-publishConfig": "error",
@@ -0,0 +1,86 @@
1
+ import plugin from "eslint-plugin-perfectionist"
2
+
3
+ /** @type {import("@eslint/config-helpers").Config} */
4
+ export const perfectionist = {
5
+ plugins: {
6
+ perfectionist: plugin,
7
+ },
8
+ rules: {
9
+ "perfectionist/sort-classes": [
10
+ "error",
11
+ {
12
+ groups: [
13
+ "index-signature",
14
+ "static-block",
15
+ ["static-property", "static-accessor-property"],
16
+ ["static-get-method", "static-set-method"],
17
+ "static-method",
18
+ ["property", "accessor-property"],
19
+ ["get-method", "set-method"],
20
+ "constructor",
21
+ "method",
22
+ "unknown",
23
+ ],
24
+ newlinesBetween: 1,
25
+ newlinesInside: 1,
26
+ type: "alphabetical",
27
+ },
28
+ ],
29
+ "perfectionist/sort-enums": [
30
+ "error",
31
+ {
32
+ type: "alphabetical",
33
+ },
34
+ ],
35
+ "perfectionist/sort-exports": [
36
+ "error",
37
+ {
38
+ type: "alphabetical",
39
+ },
40
+ ],
41
+ "perfectionist/sort-imports": [
42
+ "error",
43
+ {
44
+ groups: [
45
+ "side-effect",
46
+ "builtin",
47
+ "external",
48
+ "internal",
49
+ ["parent", "sibling", "index"],
50
+ ],
51
+ newlinesBetween: 1,
52
+ type: "alphabetical",
53
+ },
54
+ ],
55
+ "perfectionist/sort-interfaces": [
56
+ "error",
57
+ {
58
+ type: "alphabetical",
59
+ },
60
+ ],
61
+ "perfectionist/sort-named-exports": [
62
+ "error",
63
+ {
64
+ type: "alphabetical",
65
+ },
66
+ ],
67
+ "perfectionist/sort-named-imports": [
68
+ "error",
69
+ {
70
+ type: "alphabetical",
71
+ },
72
+ ],
73
+ "perfectionist/sort-object-types": [
74
+ "error",
75
+ {
76
+ type: "alphabetical",
77
+ },
78
+ ],
79
+ "perfectionist/sort-objects": [
80
+ "error",
81
+ {
82
+ type: "alphabetical",
83
+ },
84
+ ],
85
+ },
86
+ }
@@ -15,6 +15,7 @@ export const playwright = {
15
15
  "playwright/no-conditional-expect": "error",
16
16
  "playwright/no-conditional-in-test": "error",
17
17
  "playwright/no-duplicate-hooks": "error",
18
+ "playwright/no-duplicate-slow": "error",
18
19
  "playwright/no-element-handle": "error",
19
20
  "playwright/no-eval": "error",
20
21
  "playwright/no-focused-test": "error",
@@ -22,7 +23,7 @@ export const playwright = {
22
23
  "playwright/no-get-by-title": "error",
23
24
  "playwright/no-nested-step": "error",
24
25
  "playwright/no-page-pause": "error",
25
- "playwright/no-skipped-test": "error",
26
+ "playwright/no-skipped-test": ["error", { disallowFixme: true }],
26
27
  "playwright/no-slowed-test": "error",
27
28
  "playwright/no-standalone-expect": "error",
28
29
  "playwright/no-unsafe-references": "error",
@@ -50,6 +51,7 @@ export const playwright = {
50
51
  "playwright/prefer-to-have-length": "error",
51
52
  "playwright/prefer-web-first-assertions": "error",
52
53
  "playwright/require-hook": "error",
54
+ "playwright/require-to-pass-timeout": "error",
53
55
  "playwright/require-to-throw-message": "error",
54
56
  "playwright/require-top-level-describe": "error",
55
57
  "playwright/valid-describe-callback": "error",
@@ -16,9 +16,11 @@ export const sonarjsAws = {
16
16
  "sonarjs/aws-iam-public-access": "error",
17
17
  "sonarjs/aws-opensearchservice-domain": "error",
18
18
  "sonarjs/aws-rds-unencrypted-databases": "error",
19
+ "sonarjs/aws-restricted-ip-admin-access": "error",
19
20
  "sonarjs/aws-s3-bucket-granted-access": "error",
20
21
  "sonarjs/aws-s3-bucket-insecure-http": "error",
21
22
  "sonarjs/aws-s3-bucket-public-access": "error",
23
+ "sonarjs/aws-s3-bucket-server-encryption": "error",
22
24
  "sonarjs/aws-s3-bucket-versioning": "error",
23
25
  "sonarjs/aws-sagemaker-unencrypted-notebook": "error",
24
26
  "sonarjs/aws-sns-unencrypted-topics": "error",
@@ -190,7 +190,6 @@ export const sonarjs = {
190
190
  "sonarjs/stateful-regex": "error",
191
191
  "sonarjs/strict-transport-security": "error",
192
192
  "sonarjs/strings-comparison": "error",
193
- "sonarjs/super-invocation": "error",
194
193
  "sonarjs/table-header": "error",
195
194
  "sonarjs/table-header-reference": "error",
196
195
  "sonarjs/test-check-exception": "error",
@@ -203,6 +202,7 @@ export const sonarjs = {
203
202
  "sonarjs/updated-const-var": "error",
204
203
  "sonarjs/updated-loop-counter": "error",
205
204
  "sonarjs/use-type-alias": "error",
205
+ "sonarjs/useless-string-operation": "error",
206
206
  "sonarjs/values-not-convertible-to-numbers": "error",
207
207
  "sonarjs/variable-name": "error",
208
208
  "sonarjs/void-use": "error",
@@ -6,7 +6,6 @@ export const stylistic = {
6
6
  "@stylistic": plugin,
7
7
  },
8
8
  rules: {
9
- "@stylistic/lines-between-class-members": ["error", "always"],
10
9
  "@stylistic/padding-line-between-statements": [
11
10
  "error",
12
11
  {
@@ -28,6 +28,7 @@ export const unicorn = {
28
28
  },
29
29
  },
30
30
  ],
31
+ "unicorn/isolated-functions": "error",
31
32
  "unicorn/new-for-builtins": "error",
32
33
  "unicorn/no-abusive-eslint-disable": "error",
33
34
  "unicorn/no-accessor-recursion": "error",
@@ -3,13 +3,6 @@ export const noT = {
3
3
  const [{ prefix = "" } = {}] = context.options
4
4
 
5
5
  return {
6
- "TSTypeParameter > Identifier[name=/^.$/]"(node) {
7
- context.report({
8
- data: { name: node.name },
9
- messageId: "forbidden",
10
- node,
11
- })
12
- },
13
6
  "TSTypeParameter > Identifier[name=/^.{2,}$/]"(node) {
14
7
  if (prefix && !node.name.startsWith(prefix)) {
15
8
  context.report({
@@ -19,6 +12,13 @@ export const noT = {
19
12
  })
20
13
  }
21
14
  },
15
+ "TSTypeParameter > Identifier[name=/^.$/]"(node) {
16
+ context.report({
17
+ data: { name: node.name },
18
+ messageId: "forbidden",
19
+ node,
20
+ })
21
+ },
22
22
  }
23
23
  },
24
24
  meta: {
@@ -1,6 +1,7 @@
1
1
  /** @type {import("stylelint").Config} */
2
2
  const plugin = {
3
3
  rules: {
4
+ "order/custom-properties-alphabetical-order": true,
4
5
  "order/order": [
5
6
  "custom-properties",
6
7
  "dollar-variables",
@@ -1,2 +0,0 @@
1
- /** @type {import("@eslint/config-helpers").Config} */
2
- export const rimac: import("@eslint/config-helpers").Config;
@@ -1,2 +0,0 @@
1
- /** @type {import("@eslint/config-helpers").Config} */
2
- export const simpleImportSort: import("@eslint/config-helpers").Config;
@@ -1,2 +0,0 @@
1
- /** @type {import("@eslint/config-helpers").Config} */
2
- export const sortDestructureKeys: import("@eslint/config-helpers").Config;
@@ -1,2 +0,0 @@
1
- /** @type {import("@eslint/config-helpers").Config} */
2
- export const sortKeysFix: import("@eslint/config-helpers").Config;
@@ -1,2 +0,0 @@
1
- /** @type {import("@eslint/config-helpers").Config} */
2
- export const typescriptSortKeys: import("@eslint/config-helpers").Config;
@@ -1,11 +0,0 @@
1
- import plugin from "@rimac-technology/eslint-plugin"
2
-
3
- /** @type {import("@eslint/config-helpers").Config} */
4
- export const rimac = {
5
- plugins: {
6
- "@rimac-technology": plugin,
7
- },
8
- rules: {
9
- "@rimac-technology/class-element-sorting": "error",
10
- },
11
- }
@@ -1,12 +0,0 @@
1
- import plugin from "eslint-plugin-simple-import-sort"
2
-
3
- /** @type {import("@eslint/config-helpers").Config} */
4
- export const simpleImportSort = {
5
- plugins: {
6
- "simple-import-sort": plugin,
7
- },
8
- rules: {
9
- "simple-import-sort/exports": "error",
10
- "simple-import-sort/imports": "error",
11
- },
12
- }
@@ -1,11 +0,0 @@
1
- import plugin from "eslint-plugin-sort-destructure-keys"
2
-
3
- /** @type {import("@eslint/config-helpers").Config} */
4
- export const sortDestructureKeys = {
5
- plugins: {
6
- "sort-destructure-keys": plugin,
7
- },
8
- rules: {
9
- "sort-destructure-keys/sort-destructure-keys": "error",
10
- },
11
- }
@@ -1,11 +0,0 @@
1
- import plugin from "eslint-plugin-sort-keys-fix"
2
-
3
- /** @type {import("@eslint/config-helpers").Config} */
4
- export const sortKeysFix = {
5
- plugins: {
6
- "sort-keys-fix": plugin,
7
- },
8
- rules: {
9
- "sort-keys-fix/sort-keys-fix": "error",
10
- },
11
- }
@@ -1,12 +0,0 @@
1
- import plugin from "eslint-plugin-typescript-sort-keys"
2
-
3
- /** @type {import("@eslint/config-helpers").Config} */
4
- export const typescriptSortKeys = {
5
- plugins: {
6
- "typescript-sort-keys": plugin,
7
- },
8
- rules: {
9
- "typescript-sort-keys/interface": "error",
10
- "typescript-sort-keys/string-enum": "error",
11
- },
12
- }