linted 19.4.3-rc.7 → 19.4.3-rc.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/.github/workflows/RELEASE.yml +36 -36
  2. package/.github/workflows/rc.yml +36 -36
  3. package/.markdownlint.jsonc +122 -122
  4. package/LICENSE +21 -21
  5. package/README.md +387 -387
  6. package/SECURITY.md +9 -9
  7. package/dist/imports/index.d.ts.map +1 -1
  8. package/dist/imports/plugins.d.ts.map +1 -1
  9. package/eslint.config.js +3 -3
  10. package/package.json +144 -144
  11. package/src/_strings/id.ts +8 -8
  12. package/src/_strings/index.ts +6 -6
  13. package/src/_strings/level.spec.ts +31 -31
  14. package/src/_strings/level.ts +4 -4
  15. package/src/_strings/state.ts +28 -28
  16. package/src/files/html.ts +1 -1
  17. package/src/files/index.ts +19 -19
  18. package/src/files/js.ts +4 -4
  19. package/src/files/json.ts +1 -1
  20. package/src/files/jsonc.ts +4 -4
  21. package/src/files/mocha.ts +4 -4
  22. package/src/files/mochaJs.ts +4 -4
  23. package/src/files/svelte.ts +1 -1
  24. package/src/files/ts.ts +1 -1
  25. package/src/files/yml.ts +1 -1
  26. package/src/imports/index.ts +7 -7
  27. package/src/imports/parsers.ts +13 -13
  28. package/src/imports/plugins.ts +17 -17
  29. package/src/index.spec.ts +11 -11
  30. package/src/index.ts +22 -22
  31. package/src/rules/html/enable.ts +120 -120
  32. package/src/rules/html/index.ts +3 -3
  33. package/src/rules/index.ts +19 -19
  34. package/src/rules/js/enable.ts +524 -524
  35. package/src/rules/js/index.ts +4 -4
  36. package/src/rules/js/stylistic.ts +611 -611
  37. package/src/rules/json/enable.ts +33 -33
  38. package/src/rules/json/enable_x.ts +95 -95
  39. package/src/rules/json/index.ts +4 -4
  40. package/src/rules/jsonc/index.ts +4 -4
  41. package/src/rules/jsonc/override.ts +16 -16
  42. package/src/rules/mocha/base.ts +7 -7
  43. package/src/rules/mocha/disable.ts +8 -8
  44. package/src/rules/mocha/enable.ts +53 -53
  45. package/src/rules/mocha/index.ts +7 -7
  46. package/src/rules/mochaJs/index.ts +7 -7
  47. package/src/rules/svelte/disable.ts +9 -9
  48. package/src/rules/svelte/disable_js.ts +11 -11
  49. package/src/rules/svelte/disable_ts.ts +9 -9
  50. package/src/rules/svelte/enable.ts +230 -230
  51. package/src/rules/svelte/enable_x.ts +20 -20
  52. package/src/rules/svelte/index.ts +15 -15
  53. package/src/rules/ts/disable.ts +22 -22
  54. package/src/rules/ts/disable_x.ts +32 -32
  55. package/src/rules/ts/enable.ts +550 -550
  56. package/src/rules/ts/enable_x.ts +115 -115
  57. package/src/rules/ts/index.ts +13 -13
  58. package/src/rules/yml/enable.ts +64 -64
  59. package/src/rules/yml/enable_x.ts +68 -68
  60. package/src/rules/yml/index.ts +4 -4
  61. package/tsconfig.json +163 -163
  62. package/typings/mocha.d.ts +3 -3
package/tsconfig.json CHANGED
@@ -1,163 +1,163 @@
1
- {
2
- "display": "@jimbojet/tsc",
3
- "version": "5.6.9",
4
- "$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
5
- "$schema": "https://json.schemastore.org/tsconfig",
6
- "include": [
7
- "*.config.ts",
8
- "src/**/*.ts",
9
- "tests/**/*.ts",
10
- "typings/**/*.d.ts",
11
- ],
12
- "exclude": [],
13
- "compilerOptions": {
14
- // #region TYPE CHECKING
15
- "allowUnreachableCode": false,
16
- "allowUnusedLabels": false,
17
- "alwaysStrict": true,
18
- "exactOptionalPropertyTypes": true,
19
- "noFallthroughCasesInSwitch": true,
20
- "noImplicitAny": true,
21
- "noImplicitOverride": true,
22
- "noImplicitReturns": true,
23
- "noImplicitThis": true,
24
- "noPropertyAccessFromIndexSignature": true,
25
- "noUncheckedIndexedAccess": true,
26
- "noUnusedLocals": true,
27
- "noUnusedParameters": true,
28
- "strict": true,
29
- "strictBindCallApply": true,
30
- "strictFunctionTypes": true,
31
- "strictNullChecks": true,
32
- "strictPropertyInitialization": true,
33
- "useUnknownInCatchVariables": true,
34
- // #endregion TYPE CHECKING
35
-
36
-
37
- // #region MODULES
38
- "allowArbitraryExtensions": true,
39
- // "allowImportingTsExtensions": true,
40
- // "allowUmdGlobalAccess": true,
41
- // "baseUrl": "./",
42
- // "customConditions": [],
43
- "module": "es2022",
44
- "moduleResolution": "bundler",
45
- // "moduleSuffixes": [],
46
- // "noResolve": true,
47
- // "paths": { "*": ["node_modules/*"] },
48
- // "resolveJsonModule": true,
49
- // "resolvePackageJsonExports": true,
50
- // "resolvePackageJsonImports": true,
51
- "rootDir": "src",
52
- // "rootDirs": [],
53
- // "typeRoots": [],
54
- "types": [
55
- "mocha",
56
- "chai",
57
- /* {CONFIGURE} */
58
- ],
59
- // #endregion MODULES
60
-
61
-
62
- // #region EMIT
63
- "declaration": true,
64
- "declarationDir": "dist",
65
- "declarationMap": true,
66
- // "downlevelIteration": true,
67
- // "emitBOM": true,
68
- // "emitDeclarationOnly": true,
69
- // "importHelpers": true,
70
- // "inlineSourceMap": true,
71
- // "inlineSources": true,
72
- // "mapRoot": "",
73
- // "newLine": "crlf",
74
- // "noEmit": true,
75
- // "noEmitHelpers": true,
76
- "noEmitOnError": true,
77
- "outDir": "dist",
78
- // "outFile": "./",
79
- // "preserveConstEnums": true,
80
- "removeComments": true,
81
- "sourceMap": true,
82
- // "sourceRoot": "",
83
- // "stripInternal": true,
84
- // #endregion EMIT
85
-
86
-
87
- // #region JAVASCRIPT SUPPORT
88
- // "allowJs": true,
89
- // "checkJs": true,
90
- // "maxNodeModuleJsDepth": 1,
91
- // #endregion JAVASCRIPT SUPPORT
92
-
93
-
94
- // #region EDITOR SUPPORT
95
- // "disableSizeLimit": false,
96
- // "plugins": [],
97
- // #endregion EDITOR SUPPORT
98
-
99
-
100
- // #region INTEROP CONSTRAINTS
101
- "allowSyntheticDefaultImports": true,
102
- "esModuleInterop": true,
103
- "forceConsistentCasingInFileNames": true,
104
- // "isolatedDeclarations": false,
105
- // "isolatedModules": true,
106
- // "preserveSymlinks": true,
107
- "verbatimModuleSyntax": true,
108
- // #endregion INTEROP CONSTRAINTS
109
-
110
-
111
- // #region LANGUAGE AND ENVIRONMENT
112
- // "emitDecoratorMetadata": true,
113
- // "experimentalDecorators": true,
114
- // "jsx": "preserve",
115
- // "jsxFactory": "",
116
- // "jsxFragmentFactory": "",
117
- // "jsxImportSource": "",
118
- "lib": [
119
- "es2023",
120
- /* {CONFIGURE} */
121
- ],
122
- // "moduleDetection": "auto",
123
- // "noLib": true,
124
- // "reactNamespace": "",
125
- "target": "es2022",
126
- // "useDefineForClassFields": true /* @default: target > es2022 : true; else : false*/,
127
- // #endregion LANGUAGE AND ENVIRONMENT
128
-
129
-
130
- // #region COMPILER DIAGNOSTICS
131
- // "diagnostics": true,
132
- // "explainFiles": true,
133
- // "extendedDiagnostics": true,
134
- // "generateCpuProfile": "profile.cpuprofile",
135
- // "listEmittedFiles": true,
136
- // "listFiles": true,
137
- // "noCheck": true,
138
- // "traceResolution": true,
139
- // #endregion COMPILER DIAGNOSTICS
140
-
141
-
142
- // #region PROJECTS
143
- // "composite": true,
144
- // "disableReferencedProjectLoad": true,
145
- // "disableSolutionSearching": true,
146
- // "disableSourceOfProjectReferenceRedirect": true,
147
- "incremental": true,
148
- "tsBuildInfoFile": "dist/.tsbuildinfo",
149
- // #endregion PROJECTS
150
-
151
-
152
- // #region OUTPUT FORMATTING
153
- // "noErrorTruncation": true,
154
- // "preserveWatchOutput": true,
155
- // "pretty": true,
156
- // #endregion OUTPUT FORMATTING
157
-
158
-
159
- // #region COMPLETENESS
160
- "skipLibCheck": true /* @OVERRIDE */,
161
- // #endregion COMPLETENESS
162
- },
163
- }
1
+ {
2
+ "display": "@jimbojet/tsc",
3
+ "version": "5.6.9",
4
+ "$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
5
+ "$schema": "https://json.schemastore.org/tsconfig",
6
+ "include": [
7
+ "*.config.ts",
8
+ "src/**/*.ts",
9
+ "tests/**/*.ts",
10
+ "typings/**/*.d.ts",
11
+ ],
12
+ "exclude": [],
13
+ "compilerOptions": {
14
+ // #region TYPE CHECKING
15
+ "allowUnreachableCode": false,
16
+ "allowUnusedLabels": false,
17
+ "alwaysStrict": true,
18
+ "exactOptionalPropertyTypes": true,
19
+ "noFallthroughCasesInSwitch": true,
20
+ "noImplicitAny": true,
21
+ "noImplicitOverride": true,
22
+ "noImplicitReturns": true,
23
+ "noImplicitThis": true,
24
+ "noPropertyAccessFromIndexSignature": true,
25
+ "noUncheckedIndexedAccess": true,
26
+ "noUnusedLocals": true,
27
+ "noUnusedParameters": true,
28
+ "strict": true,
29
+ "strictBindCallApply": true,
30
+ "strictFunctionTypes": true,
31
+ "strictNullChecks": true,
32
+ "strictPropertyInitialization": true,
33
+ "useUnknownInCatchVariables": true,
34
+ // #endregion TYPE CHECKING
35
+
36
+
37
+ // #region MODULES
38
+ "allowArbitraryExtensions": true,
39
+ // "allowImportingTsExtensions": true,
40
+ // "allowUmdGlobalAccess": true,
41
+ // "baseUrl": "./",
42
+ // "customConditions": [],
43
+ "module": "es2022",
44
+ "moduleResolution": "bundler",
45
+ // "moduleSuffixes": [],
46
+ // "noResolve": true,
47
+ // "paths": { "*": ["node_modules/*"] },
48
+ // "resolveJsonModule": true,
49
+ // "resolvePackageJsonExports": true,
50
+ // "resolvePackageJsonImports": true,
51
+ "rootDir": "src",
52
+ // "rootDirs": [],
53
+ // "typeRoots": [],
54
+ "types": [
55
+ "mocha",
56
+ "chai",
57
+ /* {CONFIGURE} */
58
+ ],
59
+ // #endregion MODULES
60
+
61
+
62
+ // #region EMIT
63
+ "declaration": true,
64
+ "declarationDir": "dist",
65
+ "declarationMap": true,
66
+ // "downlevelIteration": true,
67
+ // "emitBOM": true,
68
+ // "emitDeclarationOnly": true,
69
+ // "importHelpers": true,
70
+ // "inlineSourceMap": true,
71
+ // "inlineSources": true,
72
+ // "mapRoot": "",
73
+ // "newLine": "crlf",
74
+ // "noEmit": true,
75
+ // "noEmitHelpers": true,
76
+ "noEmitOnError": true,
77
+ "outDir": "dist",
78
+ // "outFile": "./",
79
+ // "preserveConstEnums": true,
80
+ "removeComments": true,
81
+ "sourceMap": true,
82
+ // "sourceRoot": "",
83
+ // "stripInternal": true,
84
+ // #endregion EMIT
85
+
86
+
87
+ // #region JAVASCRIPT SUPPORT
88
+ // "allowJs": true,
89
+ // "checkJs": true,
90
+ // "maxNodeModuleJsDepth": 1,
91
+ // #endregion JAVASCRIPT SUPPORT
92
+
93
+
94
+ // #region EDITOR SUPPORT
95
+ // "disableSizeLimit": false,
96
+ // "plugins": [],
97
+ // #endregion EDITOR SUPPORT
98
+
99
+
100
+ // #region INTEROP CONSTRAINTS
101
+ "allowSyntheticDefaultImports": true,
102
+ "esModuleInterop": true,
103
+ "forceConsistentCasingInFileNames": true,
104
+ // "isolatedDeclarations": false,
105
+ // "isolatedModules": true,
106
+ // "preserveSymlinks": true,
107
+ "verbatimModuleSyntax": true,
108
+ // #endregion INTEROP CONSTRAINTS
109
+
110
+
111
+ // #region LANGUAGE AND ENVIRONMENT
112
+ // "emitDecoratorMetadata": true,
113
+ // "experimentalDecorators": true,
114
+ // "jsx": "preserve",
115
+ // "jsxFactory": "",
116
+ // "jsxFragmentFactory": "",
117
+ // "jsxImportSource": "",
118
+ "lib": [
119
+ "es2023",
120
+ /* {CONFIGURE} */
121
+ ],
122
+ // "moduleDetection": "auto",
123
+ // "noLib": true,
124
+ // "reactNamespace": "",
125
+ "target": "es2022",
126
+ // "useDefineForClassFields": true /* @default: target > es2022 : true; else : false*/,
127
+ // #endregion LANGUAGE AND ENVIRONMENT
128
+
129
+
130
+ // #region COMPILER DIAGNOSTICS
131
+ // "diagnostics": true,
132
+ // "explainFiles": true,
133
+ // "extendedDiagnostics": true,
134
+ // "generateCpuProfile": "profile.cpuprofile",
135
+ // "listEmittedFiles": true,
136
+ // "listFiles": true,
137
+ // "noCheck": true,
138
+ // "traceResolution": true,
139
+ // #endregion COMPILER DIAGNOSTICS
140
+
141
+
142
+ // #region PROJECTS
143
+ // "composite": true,
144
+ // "disableReferencedProjectLoad": true,
145
+ // "disableSolutionSearching": true,
146
+ // "disableSourceOfProjectReferenceRedirect": true,
147
+ "incremental": true,
148
+ "tsBuildInfoFile": "dist/.tsbuildinfo",
149
+ // #endregion PROJECTS
150
+
151
+
152
+ // #region OUTPUT FORMATTING
153
+ // "noErrorTruncation": true,
154
+ // "preserveWatchOutput": true,
155
+ // "pretty": true,
156
+ // #endregion OUTPUT FORMATTING
157
+
158
+
159
+ // #region COMPLETENESS
160
+ "skipLibCheck": true /* @OVERRIDE */,
161
+ // #endregion COMPLETENESS
162
+ },
163
+ }
@@ -1,3 +1,3 @@
1
- declare module "eslint-plugin-mocha" {
2
- export const configs: unknown;
3
- }
1
+ declare module "eslint-plugin-mocha" {
2
+ export const configs: unknown;
3
+ }