linted 19.3.0-rc.0 → 19.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. package/.github/workflows/RELEASE.yml +36 -36
  2. package/.github/workflows/rc.yml +36 -36
  3. package/.markdownlint.jsonc +124 -124
  4. package/LICENSE +21 -21
  5. package/README.md +387 -387
  6. package/SECURITY.md +9 -9
  7. package/dist/_strings/level.spec.d.ts +2 -0
  8. package/dist/_strings/level.spec.d.ts.map +1 -0
  9. package/dist/_strings/level.spec.js +31 -0
  10. package/dist/_strings/level.spec.js.map +1 -0
  11. package/dist/imports/index.d.ts.map +1 -1
  12. package/dist/imports/plugins.d.ts.map +1 -1
  13. package/dist/index.spec.d.ts +1 -0
  14. package/dist/index.spec.js +10 -1
  15. package/dist/index.spec.js.map +1 -1
  16. package/eslint.config.js +3 -3
  17. package/package.json +140 -140
  18. package/src/_strings/id.ts +18 -18
  19. package/src/_strings/index.ts +6 -6
  20. package/src/_strings/level.spec.ts +31 -0
  21. package/src/_strings/level.ts +6 -6
  22. package/src/_strings/state.ts +58 -58
  23. package/src/files/html.ts +1 -1
  24. package/src/files/index.ts +19 -19
  25. package/src/files/js.ts +4 -4
  26. package/src/files/json.ts +1 -1
  27. package/src/files/jsonc.ts +4 -4
  28. package/src/files/mocha.ts +4 -4
  29. package/src/files/mochaJs.ts +4 -4
  30. package/src/files/svelte.ts +1 -1
  31. package/src/files/ts.ts +1 -1
  32. package/src/files/yml.ts +1 -1
  33. package/src/imports/index.ts +7 -7
  34. package/src/imports/parsers.ts +13 -13
  35. package/src/imports/plugins.ts +17 -17
  36. package/src/index.spec.ts +11 -0
  37. package/src/index.ts +22 -22
  38. package/src/rules/html/enable.ts +120 -120
  39. package/src/rules/html/index.ts +3 -3
  40. package/src/rules/index.ts +19 -19
  41. package/src/rules/js/enable.ts +524 -524
  42. package/src/rules/js/index.ts +4 -4
  43. package/src/rules/js/stylistic.ts +608 -608
  44. package/src/rules/json/enable.ts +33 -33
  45. package/src/rules/json/enable_x.ts +95 -95
  46. package/src/rules/json/index.ts +4 -4
  47. package/src/rules/jsonc/index.ts +4 -4
  48. package/src/rules/jsonc/override.ts +16 -16
  49. package/src/rules/mocha/base.ts +7 -7
  50. package/src/rules/mocha/disable.ts +8 -8
  51. package/src/rules/mocha/enable.ts +53 -53
  52. package/src/rules/mocha/index.ts +7 -7
  53. package/src/rules/mochaJs/index.ts +7 -7
  54. package/src/rules/svelte/disable.ts +9 -9
  55. package/src/rules/svelte/disable_js.ts +11 -11
  56. package/src/rules/svelte/disable_ts.ts +9 -9
  57. package/src/rules/svelte/enable.ts +230 -230
  58. package/src/rules/svelte/enable_x.ts +20 -20
  59. package/src/rules/svelte/index.ts +15 -15
  60. package/src/rules/ts/disable.ts +22 -22
  61. package/src/rules/ts/disable_x.ts +32 -32
  62. package/src/rules/ts/enable.ts +550 -550
  63. package/src/rules/ts/enable_x.ts +115 -115
  64. package/src/rules/ts/index.ts +13 -13
  65. package/src/rules/yml/enable.ts +64 -64
  66. package/src/rules/yml/enable_x.ts +68 -68
  67. package/src/rules/yml/index.ts +4 -4
  68. package/tsconfig.json +163 -163
  69. 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
+ }