@eslinted/defaults 12.16.1-rc.1 → 12.16.1

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 (88) hide show
  1. package/.github/workflows/RELEASE.yml +30 -30
  2. package/.github/workflows/rc.yml +30 -30
  3. package/.markdownlint.jsonc +97 -97
  4. package/.mocharc.yml +11 -11
  5. package/LICENSE +20 -20
  6. package/README.md +4 -4
  7. package/eslint.config.js +3 -3
  8. package/package.json +53 -54
  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/css.ts +5 -5
  14. package/src/files/html.ts +5 -5
  15. package/src/files/index.ts +23 -23
  16. package/src/files/js.ts +5 -5
  17. package/src/files/json.ts +5 -5
  18. package/src/files/jsonc.ts +5 -5
  19. package/src/files/jsoncc.ts +9 -9
  20. package/src/files/mocha.ts +5 -5
  21. package/src/files/svelte.ts +5 -5
  22. package/src/files/ts.ts +5 -5
  23. package/src/files/yml.ts +8 -8
  24. package/src/ignores/base.ts +5 -5
  25. package/src/ignores/ignores/css.ts +1 -1
  26. package/src/ignores/ignores/html.ts +1 -1
  27. package/src/ignores/ignores/js.ts +1 -1
  28. package/src/ignores/ignores/json.ts +1 -1
  29. package/src/ignores/ignores/jsonc.ts +1 -1
  30. package/src/ignores/ignores/jsoncc.ts +1 -1
  31. package/src/ignores/ignores/mocha.ts +1 -1
  32. package/src/ignores/ignores/svelte.ts +1 -1
  33. package/src/ignores/ignores/ts.ts +1 -1
  34. package/src/ignores/ignores/yml.ts +1 -1
  35. package/src/ignores/index.ts +25 -25
  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/css/enable.ts +31 -31
  43. package/src/rules/css/index.ts +3 -3
  44. package/src/rules/enable.ts +390 -390
  45. package/src/rules/html/index.ts +3 -3
  46. package/src/rules/html/plugin/index.ts +114 -114
  47. package/src/rules/index.ts +27 -27
  48. package/src/rules/json/enable.ts +18 -18
  49. package/src/rules/json/index.ts +9 -9
  50. package/src/rules/json/plugin/extension.ts +60 -60
  51. package/src/rules/json/plugin/index.ts +35 -35
  52. package/src/rules/jsonc/index.ts +3 -3
  53. package/src/rules/jsonc/plugin/index.ts +12 -12
  54. package/src/rules/jsoncc/index.ts +3 -3
  55. package/src/rules/jsoncc/plugin/index.ts +16 -16
  56. package/src/rules/mocha/chai/expect.ts +16 -16
  57. package/src/rules/mocha/chai/index.ts +18 -18
  58. package/src/rules/mocha/disable.ts +13 -13
  59. package/src/rules/mocha/enable.ts +36 -36
  60. package/src/rules/mocha/index.ts +11 -11
  61. package/src/rules/stylistic.ts +507 -507
  62. package/src/rules/svelte/disable.ts +19 -19
  63. package/src/rules/svelte/enable.ts +157 -157
  64. package/src/rules/svelte/extension/disable.ts +14 -14
  65. package/src/rules/svelte/extension/index.ts +17 -17
  66. package/src/rules/svelte/index.ts +11 -11
  67. package/src/rules/ts/disable.ts +30 -30
  68. package/src/rules/ts/enable.ts +188 -188
  69. package/src/rules/ts/extension/disable.ts +35 -35
  70. package/src/rules/ts/extension/index.ts +62 -62
  71. package/src/rules/ts/index.ts +11 -11
  72. package/src/rules/yml/enable.ts +32 -32
  73. package/src/rules/yml/extension.ts +53 -53
  74. package/src/rules/yml/index.ts +7 -7
  75. package/src/settings/base.ts +6 -6
  76. package/src/settings/index.ts +7 -7
  77. package/src/settings/registry.ts +23 -23
  78. package/src/settings/settings/css.ts +9 -9
  79. package/src/settings/settings/html.ts +10 -10
  80. package/src/settings/settings/js.ts +8 -8
  81. package/src/settings/settings/json.ts +7 -7
  82. package/src/settings/settings/jsonc.ts +9 -9
  83. package/src/settings/settings/jsoncc.ts +9 -9
  84. package/src/settings/settings/mocha.ts +8 -8
  85. package/src/settings/settings/svelte.ts +10 -10
  86. package/src/settings/settings/ts.ts +30 -30
  87. package/src/settings/settings/yml.ts +9 -9
  88. package/tsconfig.json +75 -75
@@ -1,32 +1,32 @@
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": ON,
18
- // "yml/key-name-casing": OFF,
19
- // "yml/no-empty-document": OFF,
20
- "yml/no-empty-key": ON,
21
- // "yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
22
- "yml/no-empty-sequence-entry": ON,
23
- "yml/no-tab-indent": ON,
24
- "yml/no-trailing-zeros": ON,
25
- // "yml/plain-scalar": OFF /* breaks any holdovers from YAML 1.1 or non-YAML 1.2 core implementers (god YAML is so fucking stupid, everyone should just use JSON but noooo somebody had to try to be clever and make something "more readable", fucking feeble-minded fuck) */,
26
- // "yml/quotes": OFF /* doesn't allow enough flexibility for me to use single quotes and double quotes depending on string interpolation needs when there's extra engine logic outside of YAML spec */,
27
- "yml/require-string-key": ON,
28
- // "yml/sort-keys": OFF,
29
- // "yml/sort-sequence-values": OFF,
30
- "yml/vue-custom-block/no-parsing-error": ON,
31
- } as const,
32
- };
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": ON,
18
+ // "yml/key-name-casing": OFF,
19
+ // "yml/no-empty-document": OFF,
20
+ "yml/no-empty-key": ON,
21
+ // "yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
22
+ "yml/no-empty-sequence-entry": ON,
23
+ "yml/no-tab-indent": ON,
24
+ "yml/no-trailing-zeros": ON,
25
+ // "yml/plain-scalar": OFF /* breaks any holdovers from YAML 1.1 or non-YAML 1.2 core implementers (god YAML is so fucking stupid, everyone should just use JSON but noooo somebody had to try to be clever and make something "more readable", fucking feeble-minded fuck) */,
26
+ // "yml/quotes": OFF /* doesn't allow enough flexibility for me to use single quotes and double quotes depending on string interpolation needs when there's extra engine logic outside of YAML spec */,
27
+ "yml/require-string-key": ON,
28
+ // "yml/sort-keys": OFF,
29
+ // "yml/sort-sequence-values": OFF,
30
+ "yml/vue-custom-block/no-parsing-error": ON,
31
+ } as const,
32
+ };
@@ -1,53 +1,53 @@
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
- "region",
48
- "endregion",
49
- ],
50
- },
51
- ] /* @OVERRIDE @stylistic/spaced-comment */,
52
- } as const,
53
- };
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
+ "region",
48
+ "endregion",
49
+ ],
50
+ },
51
+ ] /* @OVERRIDE @stylistic/spaced-comment */,
52
+ } as const,
53
+ };
@@ -1,7 +1,7 @@
1
- import { YmlEnablePlugin } from "./enable";
2
- import { YmlEnablePluginExtension } from "./extension";
3
-
4
- export default [
5
- YmlEnablePlugin,
6
- YmlEnablePluginExtension,
7
- ];
1
+ import { YmlEnablePlugin } from "./enable";
2
+ import { YmlEnablePluginExtension } from "./extension";
3
+
4
+ export default [
5
+ YmlEnablePlugin,
6
+ YmlEnablePluginExtension,
7
+ ];
@@ -1,6 +1,6 @@
1
- export const base = {
2
- ecmaVersion: 2023 as const,
3
- sourceType: "module" as const,
4
- noInlineConfig: false,
5
- reportUnusedDisableDirectives: "error" as const,
6
- };
1
+ export const base = {
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 { base } from "./base";
2
- import { registry } from "./registry";
3
-
4
- export const settings = {
5
- global: base,
6
- registry,
7
- };
1
+ import { base } from "./base";
2
+ import { registry } from "./registry";
3
+
4
+ export const settings = {
5
+ global: base,
6
+ registry,
7
+ };
@@ -1,23 +1,23 @@
1
- import { js } from "./settings/js";
2
- import { ts } from "./settings/ts";
3
- import { mocha } from "./settings/mocha";
4
- import { svelte } from "./settings/svelte";
5
- import { html } from "./settings/html";
6
- import { css } from "./settings/css";
7
- import { json } from "./settings/json";
8
- import { jsonc } from "./settings/jsonc";
9
- import { jsoncc } from "./settings/jsoncc";
10
- import { yml } from "./settings/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 "./settings/js";
2
+ import { ts } from "./settings/ts";
3
+ import { mocha } from "./settings/mocha";
4
+ import { svelte } from "./settings/svelte";
5
+ import { html } from "./settings/html";
6
+ import { css } from "./settings/css";
7
+ import { json } from "./settings/json";
8
+ import { jsonc } from "./settings/jsonc";
9
+ import { jsoncc } from "./settings/jsoncc";
10
+ import { yml } from "./settings/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
+ };