@eslinted/defaults 12.10.0 → 12.11.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 (149) 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/dist/index.d.ts +99 -912
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/rules/index.d.ts +99 -492
  10. package/dist/rules/index.d.ts.map +1 -1
  11. package/dist/rules/scopes/enable.d.ts +0 -2
  12. package/dist/rules/scopes/enable.d.ts.map +1 -1
  13. package/dist/rules/scopes/enable.js +0 -3
  14. package/dist/rules/scopes/enable.js.map +1 -1
  15. package/dist/rules/scopes/enable.style.d.ts +24 -134
  16. package/dist/rules/scopes/enable.style.d.ts.map +1 -1
  17. package/dist/rules/scopes/enable.style.js +22 -192
  18. package/dist/rules/scopes/enable.style.js.map +1 -1
  19. package/dist/rules/scopes/index.d.ts +24 -136
  20. package/dist/rules/scopes/index.d.ts.map +1 -1
  21. package/dist/rules/scopes/json/index.d.ts +7 -20
  22. package/dist/rules/scopes/json/index.d.ts.map +1 -1
  23. package/dist/rules/scopes/json/plugin/extension.d.ts +7 -20
  24. package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
  25. package/dist/rules/scopes/json/plugin/extension.js +7 -41
  26. package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
  27. package/dist/rules/scopes/mocha/chai/index.d.ts +0 -2
  28. package/dist/rules/scopes/mocha/chai/index.d.ts.map +1 -1
  29. package/dist/rules/scopes/mocha/chai/index.js +0 -2
  30. package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
  31. package/dist/rules/scopes/mocha/enable.d.ts +3 -10
  32. package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
  33. package/dist/rules/scopes/mocha/enable.js +3 -19
  34. package/dist/rules/scopes/mocha/enable.js.map +1 -1
  35. package/dist/rules/scopes/mocha/index.d.ts +3 -12
  36. package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
  37. package/dist/rules/scopes/svelte/enable.d.ts +19 -91
  38. package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
  39. package/dist/rules/scopes/svelte/enable.js +20 -153
  40. package/dist/rules/scopes/svelte/enable.js.map +1 -1
  41. package/dist/rules/scopes/svelte/extension/index.d.ts +2 -7
  42. package/dist/rules/scopes/svelte/extension/index.d.ts.map +1 -1
  43. package/dist/rules/scopes/svelte/extension/index.js +2 -11
  44. package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
  45. package/dist/rules/scopes/svelte/index.d.ts +21 -98
  46. package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
  47. package/dist/rules/scopes/ts/enable.d.ts +31 -163
  48. package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
  49. package/dist/rules/scopes/ts/enable.js +32 -380
  50. package/dist/rules/scopes/ts/enable.js.map +1 -1
  51. package/dist/rules/scopes/ts/extension/index.d.ts +1 -20
  52. package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
  53. package/dist/rules/scopes/ts/extension/index.js +2 -25
  54. package/dist/rules/scopes/ts/extension/index.js.map +1 -1
  55. package/dist/rules/scopes/ts/index.d.ts +32 -183
  56. package/dist/rules/scopes/ts/index.d.ts.map +1 -1
  57. package/dist/rules/scopes/yml/index.d.ts +12 -43
  58. package/dist/rules/scopes/yml/index.d.ts.map +1 -1
  59. package/dist/rules/scopes/yml/plugin/extension.d.ts +5 -22
  60. package/dist/rules/scopes/yml/plugin/extension.d.ts.map +1 -1
  61. package/dist/rules/scopes/yml/plugin/extension.js +5 -36
  62. package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
  63. package/dist/rules/scopes/yml/plugin/index.d.ts +7 -21
  64. package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
  65. package/dist/rules/scopes/yml/plugin/index.js +8 -44
  66. package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
  67. package/eslint.config.js +3 -3
  68. package/package.json +56 -56
  69. package/src/files/_factory/index.ts +76 -76
  70. package/src/files/_factory/project/index.ts +2 -2
  71. package/src/files/_factory/project/roots.ts +4 -4
  72. package/src/files/_factory/project/subroots.ts +8 -8
  73. package/src/files/index.ts +23 -23
  74. package/src/files/scopes/css.ts +5 -5
  75. package/src/files/scopes/html.ts +5 -5
  76. package/src/files/scopes/js.ts +5 -5
  77. package/src/files/scopes/json.ts +5 -5
  78. package/src/files/scopes/jsonc.ts +5 -5
  79. package/src/files/scopes/jsoncc.ts +9 -9
  80. package/src/files/scopes/mocha.ts +5 -5
  81. package/src/files/scopes/svelte.ts +5 -5
  82. package/src/files/scopes/ts.ts +5 -5
  83. package/src/files/scopes/yml.ts +8 -8
  84. package/src/ignores/global.ts +5 -5
  85. package/src/ignores/index.ts +25 -25
  86. package/src/ignores/scopes/css.ts +1 -1
  87. package/src/ignores/scopes/html.ts +1 -1
  88. package/src/ignores/scopes/js.ts +1 -1
  89. package/src/ignores/scopes/json.ts +1 -1
  90. package/src/ignores/scopes/jsonc.ts +1 -1
  91. package/src/ignores/scopes/jsoncc.ts +1 -1
  92. package/src/ignores/scopes/mocha.ts +1 -1
  93. package/src/ignores/scopes/svelte.ts +1 -1
  94. package/src/ignores/scopes/ts.ts +1 -1
  95. package/src/ignores/scopes/yml.ts +1 -1
  96. package/src/index.ts +10 -10
  97. package/src/rules/_strings/id.ts +21 -21
  98. package/src/rules/_strings/index.ts +3 -3
  99. package/src/rules/_strings/option.ts +30 -30
  100. package/src/rules/_strings/state.spec.ts +64 -64
  101. package/src/rules/_strings/state.ts +4 -4
  102. package/src/rules/index.ts +23 -23
  103. package/src/rules/scopes/css/enable.ts +31 -31
  104. package/src/rules/scopes/css/index.ts +3 -3
  105. package/src/rules/scopes/enable.style.ts +507 -705
  106. package/src/rules/scopes/enable.ts +390 -401
  107. package/src/rules/scopes/html/index.ts +3 -3
  108. package/src/rules/scopes/html/plugin/index.ts +113 -113
  109. package/src/rules/scopes/index.ts +7 -7
  110. package/src/rules/scopes/json/enable.ts +18 -18
  111. package/src/rules/scopes/json/index.ts +9 -9
  112. package/src/rules/scopes/json/plugin/extension.ts +60 -98
  113. package/src/rules/scopes/json/plugin/index.ts +35 -35
  114. package/src/rules/scopes/jsonc/index.ts +3 -3
  115. package/src/rules/scopes/jsonc/plugin/index.ts +12 -12
  116. package/src/rules/scopes/jsoncc/index.ts +3 -3
  117. package/src/rules/scopes/jsoncc/plugin/index.ts +16 -16
  118. package/src/rules/scopes/mocha/chai/expect.ts +16 -16
  119. package/src/rules/scopes/mocha/chai/index.ts +18 -20
  120. package/src/rules/scopes/mocha/disable.ts +13 -13
  121. package/src/rules/scopes/mocha/enable.ts +36 -52
  122. package/src/rules/scopes/mocha/index.ts +11 -11
  123. package/src/rules/scopes/svelte/disable.ts +19 -19
  124. package/src/rules/scopes/svelte/enable.ts +157 -292
  125. package/src/rules/scopes/svelte/extension/disable.ts +14 -14
  126. package/src/rules/scopes/svelte/extension/index.ts +17 -27
  127. package/src/rules/scopes/svelte/index.ts +11 -11
  128. package/src/rules/scopes/ts/disable.ts +30 -30
  129. package/src/rules/scopes/ts/enable.ts +188 -578
  130. package/src/rules/scopes/ts/extension/disable.ts +35 -35
  131. package/src/rules/scopes/ts/extension/index.ts +62 -87
  132. package/src/rules/scopes/ts/index.ts +11 -11
  133. package/src/rules/scopes/yml/index.ts +7 -7
  134. package/src/rules/scopes/yml/plugin/extension.ts +55 -88
  135. package/src/rules/scopes/yml/plugin/index.ts +38 -88
  136. package/src/settings/global/index.ts +6 -6
  137. package/src/settings/index.ts +7 -7
  138. package/src/settings/registry/index.ts +23 -23
  139. package/src/settings/registry/manifests/css.ts +9 -9
  140. package/src/settings/registry/manifests/html.ts +10 -10
  141. package/src/settings/registry/manifests/js.ts +8 -8
  142. package/src/settings/registry/manifests/json.ts +7 -7
  143. package/src/settings/registry/manifests/jsonc.ts +9 -9
  144. package/src/settings/registry/manifests/jsoncc.ts +9 -9
  145. package/src/settings/registry/manifests/mocha.ts +8 -8
  146. package/src/settings/registry/manifests/svelte.ts +10 -10
  147. package/src/settings/registry/manifests/ts.ts +30 -30
  148. package/src/settings/registry/manifests/yml.ts +9 -9
  149. package/tsconfig.json +75 -156
@@ -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
+ };
package/tsconfig.json CHANGED
@@ -1,156 +1,75 @@
1
- {
2
- "display": "tsc@509.0.0",
3
- "$schema": "https://json.schemastore.org/tsconfig",
4
- "$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
5
- "include": [
6
- "*.config.ts",
7
- "src/**/*.ts",
8
- "typings/**/*.d.ts",
9
- ],
10
- "exclude": [],
11
- "compilerOptions": {
12
- // #region Typecheck
13
- "allowUnreachableCode": false,
14
- "allowUnusedLabels": false,
15
- // "alwaysStrict": true /* @default true if `strict`, else false */,
16
- "exactOptionalPropertyTypes": true,
17
- "noFallthroughCasesInSwitch": true,
18
- // "noImplicitAny": true /* @default true if `strict`, else false */,
19
- "noImplicitOverride": true,
20
- "noImplicitReturns": true,
21
- // "noImplicitThis": true /* @default true if `strict`, else false */,
22
- "noPropertyAccessFromIndexSignature": true,
23
- "noUncheckedIndexedAccess": true,
24
- "noUnusedLocals": true,
25
- "noUnusedParameters": true,
26
- "strict": true /* INFO:[CONTROLS] alwaysStrict | noImplicitAny | noImplicitThis | strict.* | useUnknownInCatchVariables */,
27
- // "strictBindCallApply": true /* @default true if `strict`, else false */,
28
- // "strictBuiltinIteratorReturn": true /* @default true if `strict`, else false */,
29
- // "strictFunctionTypes": true /* @default true if `strict`, else false */,
30
- // "strictNullChecks": true /* @default true if `strict`, else false */,
31
- // "strictPropertyInitialization": true /* @default true if `strict`, else false */,
32
- // "useUnknownInCatchVariables": true /* @default true if `strict`, else false */,
33
- // #endregion
34
- //
35
- // #region Modules
36
- "allowArbitraryExtensions": true,
37
- // "allowImportingTsExtensions": true,
38
- // "allowUmdGlobalAccess": true,
39
- // "baseUrl": "./",
40
- // "customConditions": [],
41
- "module": "esnext",
42
- "moduleResolution": "bundler",
43
- // "moduleSuffixes": [],
44
- // "noResolve": true,
45
- // "noUncheckedSideEffectImports": true,
46
- // "paths": { "*": ["node_modules/*"] },
47
- // "resolveJsonModule": true,
48
- // "resolvePackageJsonExports": true,
49
- // "resolvePackageJsonImports": true,
50
- "rewriteRelativeImportExtensions": true,
51
- // "rootDir": "src",
52
- // "rootDirs": [],
53
- // "typeRoots": [],
54
- "types": [
55
- "mocha",
56
- "chai",
57
- /* {CONFIGURE} */
58
- ],
59
- // #endregion
60
- //
61
- // #region Emit
62
- "declaration": true,
63
- // "declarationDir": "",
64
- "declarationMap": true,
65
- // "downlevelIteration": true,
66
- // "emitBOM": true,
67
- // "emitDeclarationOnly": true,
68
- // "importHelpers": true,
69
- // "inlineSourceMap": true,
70
- // "inlineSources": true,
71
- // "mapRoot": "",
72
- // "newLine": "crlf",
73
- // "noEmit": true,
74
- // "noEmitHelpers": true,
75
- "noEmitOnError": true,
76
- "outDir": "dist",
77
- // "outFile": "./",
78
- // "preserveConstEnums": true,
79
- "removeComments": true /* @OVERRIDE */,
80
- "sourceMap": true,
81
- // "sourceRoot": "",
82
- // "stripInternal": true,
83
- // #endregion
84
- //
85
- // #region JS
86
- // "allowJs": true,
87
- // "checkJs": true,
88
- // "maxNodeModuleJsDepth": 1,
89
- // #endregion
90
- //
91
- // #region Editor
92
- // "disableSizeLimit": false,
93
- // "plugins": [],
94
- // #endregion
95
- //
96
- // #region Interop
97
- "allowSyntheticDefaultImports": true,
98
- // "erasableSyntaxOnly": true,
99
- // "esModuleInterop": true,
100
- "forceConsistentCasingInFileNames": true,
101
- // "isolatedDeclarations": false,
102
- "isolatedModules": true /* @OVERRIDE */,
103
- // "preserveSymlinks": true,
104
- "verbatimModuleSyntax": true,
105
- // #endregion
106
- //
107
- // #region Language
108
- // "emitDecoratorMetadata": true,
109
- // "experimentalDecorators": true,
110
- // "jsx": "preserve",
111
- // "jsxFactory": "",
112
- // "jsxFragmentFactory": "",
113
- // "jsxImportSource": "",
114
- "lib": [
115
- "esnext",
116
- /* {CONFIGURE} */
117
- ],
118
- // "libReplacement": true /* @default: true | INFO: in the future, @default may become false */,
119
- // "moduleDetection": "auto",
120
- // "noLib": true,
121
- // "reactNamespace": "",
122
- "target": "esnext",
123
- // "useDefineForClassFields": true /* @default true if `target` > `es2022`, else false*/,
124
- // #endregion
125
- //
126
- // #region Diagnostic
127
- // "diagnostics": true,
128
- // "explainFiles": true,
129
- // "extendedDiagnostics": true,
130
- // "generateCpuProfile": "profile.cpuprofile",
131
- // "listEmittedFiles": true,
132
- // "listFiles": true,
133
- // "noCheck": true,
134
- // "traceResolution": true,
135
- // #endregion
136
- //
137
- // #region Project
138
- // "composite": true,
139
- // "disableReferencedProjectLoad": true,
140
- // "disableSolutionSearching": true,
141
- // "disableSourceOfProjectReferenceRedirect": true,
142
- "incremental": true /* @default true if `composite`, else false */,
143
- // "tsBuildInfoFile": "",
144
- // #endregion
145
- //
146
- // #region Print
147
- // "noErrorTruncation": true,
148
- // "preserveWatchOutput": true,
149
- // "pretty": true,
150
- // #endregion
151
- //
152
- // #region Complete
153
- // "skipLibCheck": true,
154
- // #endregion
155
- },
156
- }
1
+ {
2
+ "display": "tsc@509.1.0",
3
+ "$schema": "https://json.schemastore.org/tsconfig",
4
+ "$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
5
+ "include": [
6
+ "*.config.ts",
7
+ "src/**/*.ts",
8
+ "typings/**/*.d.ts",
9
+ ],
10
+ "compilerOptions": {
11
+ "allowUnreachableCode": false,
12
+ "allowUnusedLabels": false,
13
+ "exactOptionalPropertyTypes": true,
14
+ "noFallthroughCasesInSwitch": true,
15
+ "noImplicitOverride": true,
16
+ "noImplicitReturns": true,
17
+ "noPropertyAccessFromIndexSignature": true,
18
+ "noUncheckedIndexedAccess": true,
19
+ "noUnusedLocals": true,
20
+ "noUnusedParameters": true,
21
+ "strict": true,
22
+ "allowArbitraryExtensions": true,
23
+ // "allowImportingTsExtensions": true,
24
+ // "baseUrl": "./",
25
+ "module": "esnext",
26
+ "moduleResolution": "bundler",
27
+ // "moduleSuffixes": [],
28
+ // "noResolve": true,
29
+ // "noUncheckedSideEffectImports": true,
30
+ // "paths": {},
31
+ // "resolveJsonModule": true,
32
+ // "resolvePackageJsonExports": true,
33
+ // "resolvePackageJsonImports": true,
34
+ "rewriteRelativeImportExtensions": true,
35
+ // "rootDir": "src",
36
+ // "rootDirs": [],
37
+ // "typeRoots": [],
38
+ "types": [
39
+ "mocha",
40
+ "chai",
41
+ /* {CONFIGURE} */
42
+ ],
43
+ "declaration": true,
44
+ // "declarationDir": "",
45
+ "declarationMap": true,
46
+ // "emitDeclarationOnly": true,
47
+ // "noEmit": true,
48
+ "noEmitOnError": true,
49
+ "outDir": "dist",
50
+ // "outFile": "./",
51
+ // "preserveConstEnums": true,
52
+ "removeComments": true,
53
+ "sourceMap": true,
54
+ // "allowJs": true,
55
+ // "checkJs": true,
56
+ "allowSyntheticDefaultImports": true,
57
+ // "erasableSyntaxOnly": true,
58
+ // "esModuleInterop": true,
59
+ "forceConsistentCasingInFileNames": true,
60
+ // "isolatedDeclarations": false,
61
+ "isolatedModules": true /* @OVERRIDE */,
62
+ "verbatimModuleSyntax": true,
63
+ "lib": [
64
+ "esnext",
65
+ /* {CONFIGURE} */
66
+ ],
67
+ // "moduleDetection": "auto",
68
+ "target": "esnext",
69
+ // "useDefineForClassFields": true,
70
+ // "composite": true,
71
+ "incremental": true,
72
+ // "tsBuildInfoFile": "",
73
+ // "skipLibCheck": true,
74
+ },
75
+ }