@eslinted/defaults 12.11.1 → 12.11.2

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.
Files changed (89) hide show
  1. package/.github/workflows/RELEASE.yml +36 -36
  2. package/.github/workflows/rc.yml +36 -36
  3. package/.markdownlint.jsonc +97 -97
  4. package/.mocharc.yml +15 -15
  5. package/LICENSE +20 -20
  6. package/README.md +4 -4
  7. package/eslint.config.js +3 -3
  8. package/package.json +56 -56
  9. package/src/files/_factory/index.ts +76 -76
  10. package/src/files/_factory/project/index.ts +2 -2
  11. package/src/files/_factory/project/roots.ts +4 -4
  12. package/src/files/_factory/project/subroots.ts +8 -8
  13. package/src/files/index.ts +23 -23
  14. package/src/files/scopes/css.ts +5 -5
  15. package/src/files/scopes/html.ts +5 -5
  16. package/src/files/scopes/js.ts +5 -5
  17. package/src/files/scopes/json.ts +5 -5
  18. package/src/files/scopes/jsonc.ts +5 -5
  19. package/src/files/scopes/jsoncc.ts +9 -9
  20. package/src/files/scopes/mocha.ts +5 -5
  21. package/src/files/scopes/svelte.ts +5 -5
  22. package/src/files/scopes/ts.ts +5 -5
  23. package/src/files/scopes/yml.ts +8 -8
  24. package/src/ignores/global.ts +5 -5
  25. package/src/ignores/index.ts +25 -25
  26. package/src/ignores/scopes/css.ts +1 -1
  27. package/src/ignores/scopes/html.ts +1 -1
  28. package/src/ignores/scopes/js.ts +1 -1
  29. package/src/ignores/scopes/json.ts +1 -1
  30. package/src/ignores/scopes/jsonc.ts +1 -1
  31. package/src/ignores/scopes/jsoncc.ts +1 -1
  32. package/src/ignores/scopes/mocha.ts +1 -1
  33. package/src/ignores/scopes/svelte.ts +1 -1
  34. package/src/ignores/scopes/ts.ts +1 -1
  35. package/src/ignores/scopes/yml.ts +1 -1
  36. package/src/index.ts +10 -10
  37. package/src/rules/_strings/id.ts +21 -21
  38. package/src/rules/_strings/index.ts +3 -3
  39. package/src/rules/_strings/option.ts +30 -30
  40. package/src/rules/_strings/state.spec.ts +64 -64
  41. package/src/rules/_strings/state.ts +4 -4
  42. package/src/rules/index.ts +23 -23
  43. package/src/rules/scopes/css/enable.ts +31 -31
  44. package/src/rules/scopes/css/index.ts +3 -3
  45. package/src/rules/scopes/enable.style.ts +507 -507
  46. package/src/rules/scopes/enable.ts +390 -390
  47. package/src/rules/scopes/html/index.ts +3 -3
  48. package/src/rules/scopes/html/plugin/index.ts +113 -113
  49. package/src/rules/scopes/index.ts +7 -7
  50. package/src/rules/scopes/json/enable.ts +18 -18
  51. package/src/rules/scopes/json/index.ts +9 -9
  52. package/src/rules/scopes/json/plugin/extension.ts +60 -60
  53. package/src/rules/scopes/json/plugin/index.ts +35 -35
  54. package/src/rules/scopes/jsonc/index.ts +3 -3
  55. package/src/rules/scopes/jsonc/plugin/index.ts +12 -12
  56. package/src/rules/scopes/jsoncc/index.ts +3 -3
  57. package/src/rules/scopes/jsoncc/plugin/index.ts +16 -16
  58. package/src/rules/scopes/mocha/chai/expect.ts +16 -16
  59. package/src/rules/scopes/mocha/chai/index.ts +18 -18
  60. package/src/rules/scopes/mocha/disable.ts +13 -13
  61. package/src/rules/scopes/mocha/enable.ts +36 -36
  62. package/src/rules/scopes/mocha/index.ts +11 -11
  63. package/src/rules/scopes/svelte/disable.ts +19 -19
  64. package/src/rules/scopes/svelte/enable.ts +157 -157
  65. package/src/rules/scopes/svelte/extension/disable.ts +14 -14
  66. package/src/rules/scopes/svelte/extension/index.ts +17 -17
  67. package/src/rules/scopes/svelte/index.ts +11 -11
  68. package/src/rules/scopes/ts/disable.ts +30 -30
  69. package/src/rules/scopes/ts/enable.ts +188 -188
  70. package/src/rules/scopes/ts/extension/disable.ts +35 -35
  71. package/src/rules/scopes/ts/extension/index.ts +62 -62
  72. package/src/rules/scopes/ts/index.ts +11 -11
  73. package/src/rules/scopes/yml/index.ts +7 -7
  74. package/src/rules/scopes/yml/plugin/extension.ts +55 -55
  75. package/src/rules/scopes/yml/plugin/index.ts +38 -38
  76. package/src/settings/global/index.ts +6 -6
  77. package/src/settings/index.ts +7 -7
  78. package/src/settings/registry/index.ts +23 -23
  79. package/src/settings/registry/manifests/css.ts +9 -9
  80. package/src/settings/registry/manifests/html.ts +10 -10
  81. package/src/settings/registry/manifests/js.ts +8 -8
  82. package/src/settings/registry/manifests/json.ts +7 -7
  83. package/src/settings/registry/manifests/jsonc.ts +9 -9
  84. package/src/settings/registry/manifests/jsoncc.ts +9 -9
  85. package/src/settings/registry/manifests/mocha.ts +8 -8
  86. package/src/settings/registry/manifests/svelte.ts +10 -10
  87. package/src/settings/registry/manifests/ts.ts +30 -30
  88. package/src/settings/registry/manifests/yml.ts +9 -9
  89. package/tsconfig.json +75 -75
@@ -1,55 +1,55 @@
1
- import {
2
- ID,
3
- ON,
4
- always,
5
- } from "../../../_strings";
6
-
7
- export const YmlEnablePluginExtension = {
8
- id: ID.Enable.Plugin.Extension,
9
- rules: {
10
- // DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
11
- "yml/flow-mapping-curly-newline": [
12
- ON,
13
- {
14
- consistent: true,
15
- multiline: true,
16
- minProperties: 2,
17
- },
18
- ] /* MUST match jsonc/object-curly-newline */,
19
- "yml/flow-mapping-curly-spacing": [
20
- ON,
21
- always,
22
- ] /* MUST match jsonc/object-curly-spacing */,
23
- "yml/flow-sequence-bracket-newline": ON /* @OVERRIDE jsonc/array-bracket-newline, instead -> MUST match its parent: @stylistic/array-bracket-newline */,
24
- "yml/flow-sequence-bracket-spacing": ON /* MUST match jsonc/array-bracket-spacing */,
25
- "yml/key-spacing": ON /* MUST match jsonc/key-spacing */,
26
- "yml/no-irregular-whitespace": ON,
27
- "yml/no-multiple-empty-lines": [
28
- ON,
29
- {
30
- max: 1,
31
- maxBOF: 0,
32
- maxEOF: 0 /* INFO: auto-fix still keeps final line-break (eol character) at EOF even though unlike `stylistic`, `yml` does not have `eol-last` */,
33
- },
34
- ] /* MUST match @stylistic/no-multiple-empty-lines */,
35
- "yml/spaced-comment": [
36
- ON,
37
- always,
38
- {
39
- exceptions: ["#"],
40
- markers: [
41
- "!",
42
- "@",
43
- "#",
44
- "##",
45
- "###",
46
- "####",
47
- "#####",
48
- "######",
49
- "region",
50
- "endregion",
51
- ],
52
- },
53
- ] /* @OVERRIDE @stylistic/spaced-comment */,
54
- } as const,
55
- };
1
+ import {
2
+ ID,
3
+ ON,
4
+ always,
5
+ } from "../../../_strings";
6
+
7
+ export const YmlEnablePluginExtension = {
8
+ id: ID.Enable.Plugin.Extension,
9
+ rules: {
10
+ // DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
11
+ "yml/flow-mapping-curly-newline": [
12
+ ON,
13
+ {
14
+ consistent: true,
15
+ multiline: true,
16
+ minProperties: 2,
17
+ },
18
+ ] /* MUST match jsonc/object-curly-newline */,
19
+ "yml/flow-mapping-curly-spacing": [
20
+ ON,
21
+ always,
22
+ ] /* MUST match jsonc/object-curly-spacing */,
23
+ "yml/flow-sequence-bracket-newline": ON /* @OVERRIDE jsonc/array-bracket-newline, instead -> MUST match its parent: @stylistic/array-bracket-newline */,
24
+ "yml/flow-sequence-bracket-spacing": ON /* MUST match jsonc/array-bracket-spacing */,
25
+ "yml/key-spacing": ON /* MUST match jsonc/key-spacing */,
26
+ "yml/no-irregular-whitespace": ON,
27
+ "yml/no-multiple-empty-lines": [
28
+ ON,
29
+ {
30
+ max: 1,
31
+ maxBOF: 0,
32
+ maxEOF: 0 /* INFO: auto-fix still keeps final line-break (eol character) at EOF even though unlike `stylistic`, `yml` does not have `eol-last` */,
33
+ },
34
+ ] /* MUST match @stylistic/no-multiple-empty-lines */,
35
+ "yml/spaced-comment": [
36
+ ON,
37
+ always,
38
+ {
39
+ exceptions: ["#"],
40
+ markers: [
41
+ "!",
42
+ "@",
43
+ "#",
44
+ "##",
45
+ "###",
46
+ "####",
47
+ "#####",
48
+ "######",
49
+ "region",
50
+ "endregion",
51
+ ],
52
+ },
53
+ ] /* @OVERRIDE @stylistic/spaced-comment */,
54
+ } as const,
55
+ };
@@ -1,38 +1,38 @@
1
- import {
2
- ID,
3
- // OFF,
4
- ON,
5
- } from "../../../_strings";
6
-
7
- export const YmlEnablePlugin = {
8
- id: ID.Enable.Plugin.Plugin,
9
- rules: {
10
- // DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
11
- "yml/block-mapping-colon-indicator-newline": ON,
12
- "yml/block-mapping-question-indicator-newline": ON,
13
- "yml/block-mapping": ON,
14
- "yml/block-sequence-hyphen-indicator-newline": ON,
15
- "yml/block-sequence": ON,
16
- // "yml/file-extension": OFF,
17
- "yml/indent": [
18
- ON,
19
- 2,
20
- {
21
- alignMultilineFlowScalars: true,
22
- },
23
- ],
24
- // "yml/key-name-casing": OFF,
25
- // "yml/no-empty-document": OFF,
26
- "yml/no-empty-key": ON,
27
- // "yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
28
- "yml/no-empty-sequence-entry": ON,
29
- "yml/no-tab-indent": ON,
30
- "yml/no-trailing-zeros": ON,
31
- "yml/plain-scalar": ON,
32
- "yml/quotes": ON,
33
- "yml/require-string-key": ON,
34
- // "yml/sort-keys": OFF,
35
- // "yml/sort-sequence-values": OFF,
36
- "yml/vue-custom-block/no-parsing-error": ON,
37
- } as const,
38
- };
1
+ import {
2
+ ID,
3
+ // OFF,
4
+ ON,
5
+ } from "../../../_strings";
6
+
7
+ export const YmlEnablePlugin = {
8
+ id: ID.Enable.Plugin.Plugin,
9
+ rules: {
10
+ // DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
11
+ "yml/block-mapping-colon-indicator-newline": ON,
12
+ "yml/block-mapping-question-indicator-newline": ON,
13
+ "yml/block-mapping": ON,
14
+ "yml/block-sequence-hyphen-indicator-newline": ON,
15
+ "yml/block-sequence": ON,
16
+ // "yml/file-extension": OFF,
17
+ "yml/indent": [
18
+ ON,
19
+ 2,
20
+ {
21
+ alignMultilineFlowScalars: true,
22
+ },
23
+ ],
24
+ // "yml/key-name-casing": OFF,
25
+ // "yml/no-empty-document": OFF,
26
+ "yml/no-empty-key": ON,
27
+ // "yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
28
+ "yml/no-empty-sequence-entry": ON,
29
+ "yml/no-tab-indent": ON,
30
+ "yml/no-trailing-zeros": ON,
31
+ "yml/plain-scalar": ON,
32
+ "yml/quotes": ON,
33
+ "yml/require-string-key": ON,
34
+ // "yml/sort-keys": OFF,
35
+ // "yml/sort-sequence-values": OFF,
36
+ "yml/vue-custom-block/no-parsing-error": ON,
37
+ } as const,
38
+ };
@@ -1,6 +1,6 @@
1
- export const global = {
2
- ecmaVersion: 2023 as const,
3
- sourceType: "module" as const,
4
- noInlineConfig: false,
5
- reportUnusedDisableDirectives: "error" as const,
6
- };
1
+ export const global = {
2
+ ecmaVersion: 2023 as const,
3
+ sourceType: "module" as const,
4
+ noInlineConfig: false,
5
+ reportUnusedDisableDirectives: "error" as const,
6
+ };
@@ -1,7 +1,7 @@
1
- import { global } from "./global";
2
- import { registry } from "./registry";
3
-
4
- export const settings = {
5
- global,
6
- registry,
7
- };
1
+ import { global } from "./global";
2
+ import { registry } from "./registry";
3
+
4
+ export const settings = {
5
+ global,
6
+ registry,
7
+ };
@@ -1,23 +1,23 @@
1
- import { js } from "./manifests/js";
2
- import { ts } from "./manifests/ts";
3
- import { mocha } from "./manifests/mocha";
4
- import { svelte } from "./manifests/svelte";
5
- import { html } from "./manifests/html";
6
- import { css } from "./manifests/css";
7
- import { json } from "./manifests/json";
8
- import { jsonc } from "./manifests/jsonc";
9
- import { jsoncc } from "./manifests/jsoncc";
10
- import { yml } from "./manifests/yml";
11
-
12
- export const registry = {
13
- js,
14
- ts,
15
- mocha,
16
- svelte,
17
- html,
18
- css,
19
- json,
20
- jsonc,
21
- jsoncc,
22
- yml,
23
- };
1
+ import { js } from "./manifests/js";
2
+ import { ts } from "./manifests/ts";
3
+ import { mocha } from "./manifests/mocha";
4
+ import { svelte } from "./manifests/svelte";
5
+ import { html } from "./manifests/html";
6
+ import { css } from "./manifests/css";
7
+ import { json } from "./manifests/json";
8
+ import { jsonc } from "./manifests/jsonc";
9
+ import { jsoncc } from "./manifests/jsoncc";
10
+ import { yml } from "./manifests/yml";
11
+
12
+ export const registry = {
13
+ js,
14
+ ts,
15
+ mocha,
16
+ svelte,
17
+ html,
18
+ css,
19
+ json,
20
+ jsonc,
21
+ jsoncc,
22
+ yml,
23
+ };
@@ -1,9 +1,9 @@
1
- export const css = {
2
- languageOptions: {
3
- // DOC: https://github.com/eslint/css?tab=readme-ov-file#languages
4
- tolerant: false /* @default: true | DOC: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
5
- // customSyntax: {} /* DOC: Tailwind: https://github.com/eslint/css?tab=readme-ov-file#configuring-tailwind-syntax | DOC: https://github.com/eslint/css?tab=readme-ov-file#configuring-custom-syntax */,
6
- },
7
- parserOptions: {},
8
- language: "css/css",
9
- };
1
+ export const css = {
2
+ languageOptions: {
3
+ // DOC: https://github.com/eslint/css?tab=readme-ov-file#languages
4
+ tolerant: false /* @default: true | DOC: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
5
+ // customSyntax: {} /* DOC: Tailwind: https://github.com/eslint/css?tab=readme-ov-file#configuring-tailwind-syntax | DOC: https://github.com/eslint/css?tab=readme-ov-file#configuring-custom-syntax */,
6
+ },
7
+ parserOptions: {},
8
+ language: "css/css",
9
+ };
@@ -1,10 +1,10 @@
1
- export const html = {
2
- languageOptions: {
3
- parser: "html" as const,
4
- },
5
- parserOptions: {
6
- // templateEngineSyntax: {} /* DOC: https://html-eslint.org/docs/integrating-template-engine */,
7
- frontmatter: true /* @default: false | DOC: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
8
- },
9
- language: "@html-eslint/html",
10
- };
1
+ export const html = {
2
+ languageOptions: {
3
+ parser: "html" as const,
4
+ },
5
+ parserOptions: {
6
+ // templateEngineSyntax: {} /* DOC: https://html-eslint.org/docs/integrating-template-engine */,
7
+ frontmatter: true /* @default: false | DOC: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
8
+ },
9
+ language: "@html-eslint/html",
10
+ };
@@ -1,8 +1,8 @@
1
- export const js = {
2
- languageOptions: {
3
- // DOC: https://eslint.org/docs/latest/use/configure/language-options
4
- },
5
- parserOptions: {
6
- // DOC: https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options
7
- },
8
- };
1
+ export const js = {
2
+ languageOptions: {
3
+ // DOC: https://eslint.org/docs/latest/use/configure/language-options
4
+ },
5
+ parserOptions: {
6
+ // DOC: https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options
7
+ },
8
+ };
@@ -1,7 +1,7 @@
1
- export const json = {
2
- languageOptions: {
3
- allowTrailingCommas: true /* DOC: https://github.com/eslint/json?tab=readme-ov-file#allowing-trailing-commas-in-jsonc */,
4
- },
5
- parserOptions: {},
6
- language: "json/jsonc" /* INFO: `languageOptions.allowTrailingCommas` is only available on language `json/jsonc` */,
7
- };
1
+ export const json = {
2
+ languageOptions: {
3
+ allowTrailingCommas: true /* DOC: https://github.com/eslint/json?tab=readme-ov-file#allowing-trailing-commas-in-jsonc */,
4
+ },
5
+ parserOptions: {},
6
+ language: "json/jsonc" /* INFO: `languageOptions.allowTrailingCommas` is only available on language `json/jsonc` */,
7
+ };
@@ -1,9 +1,9 @@
1
- export const jsonc = {
2
- languageOptions: {
3
- // Inherits `json`
4
- },
5
- parserOptions: {
6
- // Inherits `json`
7
- },
8
- language: "json/jsonc",
9
- };
1
+ export const jsonc = {
2
+ languageOptions: {
3
+ // Inherits `json`
4
+ },
5
+ parserOptions: {
6
+ // Inherits `json`
7
+ },
8
+ language: "json/jsonc",
9
+ };
@@ -1,9 +1,9 @@
1
- export const jsoncc = {
2
- languageOptions: {
3
- // Inherits `jsonc`
4
- },
5
- parserOptions: {
6
- // Inherits `jsonc`
7
- },
8
- language: "json/jsonc",
9
- };
1
+ export const jsoncc = {
2
+ languageOptions: {
3
+ // Inherits `jsonc`
4
+ },
5
+ parserOptions: {
6
+ // Inherits `jsonc`
7
+ },
8
+ language: "json/jsonc",
9
+ };
@@ -1,8 +1,8 @@
1
- export const mocha = {
2
- languageOptions: {
3
- // Inherits `ts`
4
- },
5
- parserOptions: {
6
- // Inherits `ts`
7
- },
8
- };
1
+ export const mocha = {
2
+ languageOptions: {
3
+ // Inherits `ts`
4
+ },
5
+ parserOptions: {
6
+ // Inherits `ts`
7
+ },
8
+ };
@@ -1,10 +1,10 @@
1
- export const svelte = {
2
- languageOptions: {
3
- parser: "svelte" as const,
4
- },
5
- parserOptions: {
6
- parser: "ts" as const,
7
- extraFileExtensions: [".svelte"],
8
- },
9
- processor: "svelte/svelte",
10
- };
1
+ export const svelte = {
2
+ languageOptions: {
3
+ parser: "svelte" as const,
4
+ },
5
+ parserOptions: {
6
+ parser: "ts" as const,
7
+ extraFileExtensions: [".svelte"],
8
+ },
9
+ processor: "svelte/svelte",
10
+ };
@@ -1,30 +1,30 @@
1
- export const ts = {
2
- languageOptions: {
3
- parser: "ts" as const,
4
- },
5
- parserOptions: {
6
- // DOC: https://typescript-eslint.io/packages/parser/#configuration
7
- // INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
8
- // - https://typescript-eslint.io/blog/project-service/
9
- // - https://typescript-eslint.io/getting-started/typed-linting/
10
- // - https://typescript-eslint.io/troubleshooting/typed-linting/
11
-
12
- // disallowAutomaticSingleRunInference: false /* @default: false */,
13
- // cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
14
- ecmaFeatures: {
15
- // jsx: false /* @default: false */,
16
- globalReturn: true /* @default: false */,
17
- },
18
- ecmaVersion: 2023 /* number | @default: latest" */,
19
- emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
20
- experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
21
- // extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
22
- isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
23
- // jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
24
- // jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
25
- // jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
26
- // lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
27
- projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
28
- warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
29
- },
30
- };
1
+ export const ts = {
2
+ languageOptions: {
3
+ parser: "ts" as const,
4
+ },
5
+ parserOptions: {
6
+ // DOC: https://typescript-eslint.io/packages/parser/#configuration
7
+ // INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
8
+ // - https://typescript-eslint.io/blog/project-service/
9
+ // - https://typescript-eslint.io/getting-started/typed-linting/
10
+ // - https://typescript-eslint.io/troubleshooting/typed-linting/
11
+
12
+ // disallowAutomaticSingleRunInference: false /* @default: false */,
13
+ // cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
14
+ ecmaFeatures: {
15
+ // jsx: false /* @default: false */,
16
+ globalReturn: true /* @default: false */,
17
+ },
18
+ ecmaVersion: 2023 /* number | @default: latest" */,
19
+ emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
20
+ experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
21
+ // extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
22
+ isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
23
+ // jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
24
+ // jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
25
+ // jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
26
+ // lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
27
+ projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
28
+ warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
29
+ },
30
+ };
@@ -1,9 +1,9 @@
1
- export const yml = {
2
- languageOptions: {
3
- parser: "yml" as const,
4
- },
5
- parserOptions: {
6
- // DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
7
- // defaultYAMLVersion: "1.2" /* "1.1" | @default: "1.2" | DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#parseroptionsdefaultyamlversion */,
8
- },
9
- };
1
+ export const yml = {
2
+ languageOptions: {
3
+ parser: "yml" as const,
4
+ },
5
+ parserOptions: {
6
+ // DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
7
+ // defaultYAMLVersion: "1.2" /* "1.1" | @default: "1.2" | DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#parseroptionsdefaultyamlversion */,
8
+ },
9
+ };