eslint-config-nick2bad4u 3.0.1 → 3.0.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.
- package/README.md +3 -0
- package/dist/preset.js +3 -0
- package/dist/preset.js.map +1 -1
- package/dist/shared-config.js +379 -281
- package/dist/shared-config.js.map +1 -1
- package/docs/migration.md +3 -0
- package/index.d.ts +9 -0
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -124,6 +124,7 @@ from the named `presets` export.
|
|
|
124
124
|
| `all` | Full shared config, including packaged Typefest and Etc-Misc source-rule sections. |
|
|
125
125
|
| `recommended` | Alias for `all`; provided for familiar preset naming. |
|
|
126
126
|
| `base` | Shared config without explicit source-rule plugin sections. |
|
|
127
|
+
| `withoutActionlint` | Full shared config without Actionlint rules. |
|
|
127
128
|
| `withoutCopilot` | Full shared config without Copilot rules. |
|
|
128
129
|
| `withoutDocusaurus2` | Full shared config without Docusaurus 2 plugin rules. |
|
|
129
130
|
| `withoutEtcMisc` | Full shared config without the Etc-Misc source-rule section. |
|
|
@@ -135,6 +136,7 @@ from the named `presets` export.
|
|
|
135
136
|
| `withoutRepo` | Full shared config without Repo plugin rules. |
|
|
136
137
|
| `withoutRuntimeCleanup` | Full shared config without Runtime Cleanup plugin rules. |
|
|
137
138
|
| `withoutSdl2` | Full shared config without SDL 2 rules. |
|
|
139
|
+
| `withoutSecretlint` | Full shared config without Secretlint plugin rules. |
|
|
138
140
|
| `withoutStylelint2` | Full shared config without Stylelint 2 rules. |
|
|
139
141
|
| `withoutTestSignal` | Full shared config without Test Signal plugin rules. |
|
|
140
142
|
| `withoutTsconfig` | Full shared config without tsconfig-validation rules. |
|
|
@@ -143,6 +145,7 @@ from the named `presets` export.
|
|
|
143
145
|
| `withoutTypefest` | Full shared config without the Typefest source-rule section. |
|
|
144
146
|
| `withoutVite` | Full shared config without Vite plugin rules. |
|
|
145
147
|
| `withoutWriteGoodComments2` | Full shared config without Write Good Comments 2 rules. |
|
|
148
|
+
| `withoutYamllint` | Full shared config without Yamllint plugin rules. |
|
|
146
149
|
|
|
147
150
|
Use a `without*` preset when a repository does not use that surface or when it
|
|
148
151
|
needs to provide a local build of that plugin for dogfooding.
|
package/dist/preset.js
CHANGED
|
@@ -19,6 +19,7 @@ export const presets = Object.freeze({
|
|
|
19
19
|
all: sharedConfigs.all,
|
|
20
20
|
base: sharedConfigs.base,
|
|
21
21
|
recommended: sharedConfigs.recommended,
|
|
22
|
+
withoutActionlint: sharedConfigs.withoutActionlint,
|
|
22
23
|
withoutCopilot: sharedConfigs.withoutCopilot,
|
|
23
24
|
withoutDocusaurus2: sharedConfigs.withoutDocusaurus2,
|
|
24
25
|
withoutEtcMisc: sharedConfigs.withoutEtcMisc,
|
|
@@ -30,6 +31,7 @@ export const presets = Object.freeze({
|
|
|
30
31
|
withoutRepo: sharedConfigs.withoutRepo,
|
|
31
32
|
withoutRuntimeCleanup: sharedConfigs.withoutRuntimeCleanup,
|
|
32
33
|
withoutSdl2: sharedConfigs.withoutSdl2,
|
|
34
|
+
withoutSecretlint: sharedConfigs.withoutSecretlint,
|
|
33
35
|
withoutStylelint2: sharedConfigs.withoutStylelint2,
|
|
34
36
|
withoutTestSignal: sharedConfigs.withoutTestSignal,
|
|
35
37
|
withoutTsconfig: sharedConfigs.withoutTsconfig,
|
|
@@ -38,6 +40,7 @@ export const presets = Object.freeze({
|
|
|
38
40
|
withoutTypefest: sharedConfigs.withoutTypefest,
|
|
39
41
|
withoutVite: sharedConfigs.withoutVite,
|
|
40
42
|
withoutWriteGoodComments2: sharedConfigs.withoutWriteGoodComments2,
|
|
43
|
+
withoutYamllint: sharedConfigs.withoutYamllint,
|
|
41
44
|
});
|
|
42
45
|
/** Create the shared Nick2Bad4U ESLint flat config. */
|
|
43
46
|
export const createConfig = (options) => createSharedConfig(options);
|
package/dist/preset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset.js","sourceRoot":"","sources":["../src/pre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