eslint-config-nick2bad4u 1.0.21 → 1.2.0

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 CHANGED
@@ -2,7 +2,25 @@
2
2
 
3
3
  [![npm license.](https://flat.badgen.net/npm/license/eslint-config-nick2bad4u?color=purple)](https://github.com/Nick2bad4u/eslint-config-nick2bad4u/blob/main/LICENSE) [![npm total downloads.](https://flat.badgen.net/npm/dt/eslint-config-nick2bad4u?color=pink)](https://www.npmjs.com/package/eslint-config-nick2bad4u) [![latest GitHub release.](https://flat.badgen.net/github/release/Nick2bad4u/eslint-config-nick2bad4u?color=cyan)](https://github.com/Nick2bad4u/eslint-config-nick2bad4u/releases) [![GitHub stars.](https://flat.badgen.net/github/stars/Nick2bad4u/eslint-config-nick2bad4u?color=yellow)](https://github.com/Nick2bad4u/eslint-config-nick2bad4u/stargazers) [![GitHub forks.](https://flat.badgen.net/github/forks/Nick2bad4u/eslint-config-nick2bad4u?color=green)](https://github.com/Nick2bad4u/eslint-config-nick2bad4u/forks) [![GitHub open issues.](https://flat.badgen.net/github/open-issues/Nick2bad4u/eslint-config-nick2bad4u?color=red)](https://github.com/Nick2bad4u/eslint-config-nick2bad4u/issues) [![codecov.](https://codecov.io/gh/Nick2bad4u/eslint-config-nick2bad4u/branch/main/graph/badge.svg)](https://codecov.io/gh/Nick2bad4u/eslint-config-nick2bad4u)
4
4
 
5
- Shared flat ESLint config for Nick2bad4u ESLint plugin projects.
5
+ Shared ESM-only [ESLint flat config](https://eslint.org/docs/latest/use/configure/configuration-files)
6
+ for Nick2bad4u ESLint plugin projects.
7
+
8
+ This package centralizes the lint stack used across those repositories: TypeScript-aware
9
+ ESLint configuration, Markdown/JSON/YAML/CSS-adjacent linting, package checks,
10
+ prose checks, and project-specific plugin presets. Consumers bring `eslint` and
11
+ `typescript` as peer dependencies; this package brings the ESLint plugins and
12
+ parsers that the shared config enables.
13
+
14
+ ## Requirements
15
+
16
+ | Tool | Supported range | Why it is required |
17
+ | --- | --- | --- |
18
+ | Node.js | `>=22.0.0` | Runtime for ESLint, the config package, and repository scripts. |
19
+ | ESLint | `^10.4.0` | Peer dependency supplied by each consuming project. |
20
+ | TypeScript | `^5.0.0 \|\| ^6.0.3` | Peer dependency used by TypeScript-aware lint rules. |
21
+
22
+ Repository development also expects npm `>=11.0.0`; consumers can use the package
23
+ with whatever package manager their project supports.
6
24
 
7
25
  ## Install
8
26
 
@@ -10,11 +28,12 @@ Shared flat ESLint config for Nick2bad4u ESLint plugin projects.
10
28
  npm install --save-dev eslint-config-nick2bad4u eslint typescript
11
29
  ```
12
30
 
13
- The config package ships the ESLint plugins/parsers/configs it enables. `eslint` and `typescript` stay as peer dependencies so each consuming repo controls those versions.
31
+ Keep `eslint` and `typescript` installed in the consuming project so peer
32
+ dependency resolution stays explicit and predictable.
14
33
 
15
- ## Basic usage
34
+ ## Quick start
16
35
 
17
- Create `eslint.config.mjs` in a consuming project:
36
+ Create `eslint.config.mjs` in the consuming project:
18
37
 
19
38
  ```js
20
39
  import nick2bad4u from "eslint-config-nick2bad4u";
@@ -22,7 +41,8 @@ import nick2bad4u from "eslint-config-nick2bad4u";
22
41
  export default [...nick2bad4u.configs.all];
23
42
  ```
24
43
 
25
- That shape is intentional: the package behaves like an ESLint plugin preset, so you can compose it with local config entries instead of letting it take over the entire file:
44
+ The spread is intentional. Every preset is an ESLint flat-config array, so
45
+ spreading it lets you append local overrides without replacing the shared config:
26
46
 
27
47
  ```js
28
48
  import nick2bad4u from "eslint-config-nick2bad4u";
@@ -38,7 +58,7 @@ export default [
38
58
  ];
39
59
  ```
40
60
 
41
- If you prefer named imports, use `presets` (not `configs`):
61
+ If you prefer named imports, use `presets`:
42
62
 
43
63
  ```js
44
64
  import { presets } from "eslint-config-nick2bad4u";
@@ -46,10 +66,28 @@ import { presets } from "eslint-config-nick2bad4u";
46
66
  export default [...presets.all];
47
67
  ```
48
68
 
49
- ### Alternative: `createConfig()`
69
+ For migration steps from an existing hand-written config, see the
70
+ [migration guide](./docs/migration.md).
71
+
72
+ ## Documentation
73
+
74
+ Long-form project documentation lives in [`docs/`](./docs/index.md).
75
+
76
+ | Guide | Use it for |
77
+ | --- | --- |
78
+ | [Configuration](./docs/configuration.md) | `createConfig()`, presets, plugin replacement, and environment variables. |
79
+ | [Migration](./docs/migration.md) | Moving a project from a hand-written flat config to this package. |
80
+ | [Contributing](./CONTRIBUTING.md) | Local development workflow and pull request expectations. |
81
+ | [Maintainer guide](./docs/maintainer-guide.md) | Rule, preset, dependency, and release maintenance. |
82
+ | [Support](./SUPPORT.md) | Issue triage and reproduction details. |
83
+ | [Security](./SECURITY.md) | Private vulnerability reporting. |
84
+ | [Code of conduct](./CODE_OF_CONDUCT.md) | Participation standards for the project. |
85
+
86
+ ## `createConfig()`
50
87
 
51
- If you want to keep the shared config but customize root resolution,
52
- `tsconfigPaths`, or plugin replacements, use `createConfig()` instead:
88
+ Use `createConfig()` when a project needs to customize root resolution,
89
+ TypeScript project files, or plugin replacement/disabling while keeping the
90
+ shared defaults:
53
91
 
54
92
  ```js
55
93
  import { createConfig } from "eslint-config-nick2bad4u";
@@ -60,75 +98,82 @@ export default createConfig({
60
98
  });
61
99
  ```
62
100
 
63
- An example copy-paste file is available at
64
- [`examples/eslint.config.create.mjs`](./examples/eslint.config.create.mjs).
101
+ | Option | Type | Default | Use it when |
102
+ | --- | --- | --- | --- |
103
+ | `rootDirectory` | `string` | `process.cwd()` | ESLint runs outside the project root or a monorepo package needs its own root. |
104
+ | `tsconfigPaths` | `readonly string[]` | `["./tsconfig.eslint.json"]` | The project uses a differently named lint tsconfig or a truly separate TypeScript project. |
105
+ | `plugins` | `Readonly<Record<string, unknown>>` | `{}` | You need to dogfood a local plugin build or disable packaged plugin rules by namespace. |
65
106
 
66
- Available presets:
67
-
68
- - `nick2bad4u.configs.all` - full shared config, including packaged Typefest and Etc-Misc source rules.
69
- - `nick2bad4u.configs.recommended` - alias for `all`.
70
- - `nick2bad4u.configs.base` - shared config without the explicit source-rule plugin sections.
71
- - `nick2bad4u.configs.withoutChunkyLint` - disable `chunkylint` namespace rules.
72
- - `nick2bad4u.configs.withoutCopilot` - full shared config without Copilot rules.
73
- - `nick2bad4u.configs.withoutDocusaurus2` - disable `docusaurus-2` namespace rules.
74
- - `nick2bad4u.configs.withoutTypefest` - full shared config without the Typefest source-rule section.
75
- - `nick2bad4u.configs.withoutEtcMisc` - full shared config without the Etc-Misc source-rule section.
76
- - `nick2bad4u.configs.withoutFileProgress2` - disable `file-progress-2` namespace rules.
77
- - `nick2bad4u.configs.withoutGithubActions2` - disable `github-actions-2` namespace rules.
78
- - `nick2bad4u.configs.withoutImmutable2` - disable `immutable-2` namespace rules.
79
- - `nick2bad4u.configs.withoutRemark` - disable `remark` namespace rules.
80
- - `nick2bad4u.configs.withoutRepo` - disable `repo` namespace rules.
81
- - `nick2bad4u.configs.withoutRuntimeCleanup` - disable `runtime-cleanup` namespace rules.
82
- - `nick2bad4u.configs.withoutSdl2` - disable `sdl-2` namespace rules.
83
- - `nick2bad4u.configs.withoutStylelint2` - disable `stylelint-2` namespace rules.
84
- - `nick2bad4u.configs.withoutTestSignal` - disable `test-signal` namespace rules.
85
- - `nick2bad4u.configs.withoutTsconfig` - disable `tsconfig` namespace rules.
86
- - `nick2bad4u.configs.withoutTsdocRequire2` - disable `tsdoc-require-2` namespace rules.
87
- - `nick2bad4u.configs.withoutTypedoc` - disable `typedoc` namespace rules.
88
- - `nick2bad4u.configs.withoutUptimeWatcher` - disable `uptime-watcher` namespace rules.
89
- - `nick2bad4u.configs.withoutVite` - disable `vite` namespace rules.
90
- - `nick2bad4u.configs.withoutWriteGoodComments2` - disable `write-good-comments-2` namespace rules.
91
-
92
- ## Configure project roots / TypeScript projects
93
-
94
- By default, TypeScript-aware rules resolve from `process.cwd()` using a single
95
- `./tsconfig.eslint.json`. That file should use a catch-all `include` to cover
96
- every file ESLint touches source, tests, scripts, dotfiles, and docs tooling:
107
+ An example copy-paste config is available at
108
+ [`examples/eslint.config.create.mjs`](./examples/eslint.config.create.mjs).
109
+ Detailed configuration examples live in the
110
+ [configuration guide](./docs/configuration.md).
111
+
112
+ ## Available presets
113
+
114
+ All presets are available from the default export as `nick2bad4u.configs.*` and
115
+ from the named `presets` export.
116
+
117
+ | Preset | Purpose |
118
+ | --- | --- |
119
+ | `all` | Full shared config, including packaged Typefest and Etc-Misc source-rule sections. |
120
+ | `recommended` | Alias for `all`; provided for familiar preset naming. |
121
+ | `base` | Shared config without explicit source-rule plugin sections. |
122
+ | `withoutCopilot` | Full shared config without Copilot rules. |
123
+ | `withoutDocusaurus2` | Full shared config without Docusaurus 2 plugin rules. |
124
+ | `withoutEtcMisc` | Full shared config without the Etc-Misc source-rule section. |
125
+ | `withoutFileProgress2` | Full shared config without File Progress 2 rules. |
126
+ | `withoutGitHubActions2` | Full shared config without GitHub Actions 2 rules. |
127
+ | `withoutGithubActions2` | Deprecated alias for `withoutGitHubActions2`. |
128
+ | `withoutImmutable2` | Full shared config without Immutable 2 rules. |
129
+ | `withoutRemark` | Full shared config without Remark plugin rules. |
130
+ | `withoutRepo` | Full shared config without Repo plugin rules. |
131
+ | `withoutRuntimeCleanup` | Full shared config without Runtime Cleanup plugin rules. |
132
+ | `withoutSdl2` | Full shared config without SDL 2 rules. |
133
+ | `withoutStylelint2` | Full shared config without Stylelint 2 rules. |
134
+ | `withoutTestSignal` | Full shared config without Test Signal plugin rules. |
135
+ | `withoutTsconfig` | Full shared config without tsconfig-validation rules. |
136
+ | `withoutTsdocRequire2` | Full shared config without TSDoc Require 2 rules. |
137
+ | `withoutTypedoc` | Full shared config without TypeDoc rules. |
138
+ | `withoutTypefest` | Full shared config without the Typefest source-rule section. |
139
+ | `withoutVite` | Full shared config without Vite plugin rules. |
140
+ | `withoutWriteGoodComments2` | Full shared config without Write Good Comments 2 rules. |
141
+
142
+ Use a `without*` preset when a repository does not use that surface or when it
143
+ needs to provide a local build of that plugin for dogfooding.
144
+
145
+ ## TypeScript project setup
146
+
147
+ The default TypeScript-aware configuration resolves from `process.cwd()` and
148
+ expects `./tsconfig.eslint.json`. That project should include every file ESLint
149
+ can lint: source, tests, scripts, dotfiles, examples, and docs tooling.
97
150
 
98
151
  ```json
99
152
  {
100
153
  "$schema": "https://www.schemastore.org/tsconfig.json",
101
154
  "extends": "./tsconfig.json",
102
- "compilerOptions": { "allowJs": true, "checkJs": true, "noEmit": true },
155
+ "compilerOptions": {
156
+ "allowJs": true,
157
+ "checkJs": true,
158
+ "noEmit": true
159
+ },
103
160
  "exclude": ["node_modules/**", "dist/**", "coverage/**", ".cache/**"],
104
161
  "include": ["**/*", "**/.*"]
105
162
  }
106
163
  ```
107
164
 
108
- > One tsconfig avoids multi-project warnings and is simpler to maintain.
109
- > Dotfiles like `.secretlintrc.cjs` require `"**/.*"` they are **not** matched
110
- > by extension globs such as `**/*.cjs`.
111
-
112
- Override `tsconfigPaths` only when a separate project with different compiler
113
- settings is genuinely needed (e.g. a Docusaurus build or benchmark suite):
114
-
115
- ```js
116
- import { createConfig } from "eslint-config-nick2bad4u";
117
-
118
- export default createConfig({
119
- rootDirectory: import.meta.dirname,
120
- tsconfigPaths: [
121
- "./tsconfig.eslint.json",
122
- "./tsconfig.benchmarks.json",
123
- ],
124
- });
125
- ```
165
+ One catch-all lint tsconfig is easier to maintain than multiple narrow projects.
166
+ The `"**/.*"` include matters because dotfiles such as `.secretlintrc.cjs` are
167
+ not matched by extension globs like `**/*.cjs`.
126
168
 
127
- You can also set `ESLINT_CONFIG_ROOT` if you need to drive the root from the environment.
169
+ Set `ESLINT_CONFIG_ROOT` only when you need to drive the root directory from the
170
+ environment instead of passing `rootDirectory` to `createConfig()`.
128
171
 
129
- ## Dogfood a local ESLint plugin
172
+ ## Local plugin dogfooding
130
173
 
131
- The shared config imports `eslint-plugin-typefest` from npm by default. In the `eslint-plugin-typefest` repo, use the preset without packaged Typefest and then add the local plugin section:
174
+ Use the matching `without*` preset, then append the local plugin registration.
175
+ For example, an `eslint-plugin-typefest` checkout can use its local plugin build
176
+ without also enabling the packaged Typefest rules:
132
177
 
133
178
  ```js
134
179
  import nick2bad4u from "eslint-config-nick2bad4u";
@@ -149,89 +194,76 @@ export default [
149
194
  ];
150
195
  ```
151
196
 
152
- If your local plugin is built to `dist/plugin.js`, use that instead:
153
-
154
- ```js
155
- import nick2bad4u from "eslint-config-nick2bad4u";
156
- import localTypefest from "./dist/plugin.js";
157
-
158
- export default [
159
- ...nick2bad4u.configs.withoutTypefest,
160
- {
161
- files: ["src/**/*.{ts,tsx,mts,cts}"],
162
- name: "Local Typefest rules",
163
- plugins: {
164
- typefest: localTypefest,
165
- },
166
- rules: {
167
- ...localTypefest.configs.experimental.rules,
168
- },
169
- },
170
- ];
171
- ```
172
-
173
- ## Disable a plugin from the shared config
174
-
175
- Use a preset that omits the source-rule section you do not want:
176
-
177
- ```js
178
- import nick2bad4u from "eslint-config-nick2bad4u";
179
-
180
- export default [...nick2bad4u.configs.withoutTypefest];
181
- ```
182
-
183
- For advanced cases, `createConfig(options)` is still exported. Use it when you need custom `rootDirectory`, custom `tsconfigPaths`, or dynamic plugin disables/replacements.
197
+ Use the same shape for other plugin namespaces, such as `withoutCopilot`,
198
+ `withoutEtcMisc`, or `withoutWriteGoodComments2`.
184
199
 
185
- The same pattern works for dogfooding any local plugin with a matching `without*` preset. For example, in `eslint-plugin-copilot`:
200
+ ## Optional behavior
186
201
 
187
- ```js
188
- import nick2bad4u from "eslint-config-nick2bad4u";
189
- import localCopilot from "./plugin.mjs";
202
+ ### JSON schema validation
190
203
 
191
- export default [
192
- ...nick2bad4u.configs.withoutCopilot,
193
- {
194
- files: ["src/**/*.{js,mjs,cjs,ts,mts,cts,tsx,jsx}"],
195
- name: "Local Copilot rules",
196
- plugins: {
197
- copilot: localCopilot,
198
- },
199
- rules: {
200
- ...localCopilot.configs.all.rules,
201
- },
202
- },
203
- ];
204
- ```
205
-
206
- ## Optional JSON schema validation
207
-
208
- JSON/YAML schema validation is off by default because schema fetching can make lint runs flaky/offline-hostile. To opt in, install `eslint-plugin-json-schema-validator` in the consuming repo and set:
204
+ JSON/YAML schema validation is disabled by default because schema fetching can
205
+ make lint runs flaky in offline or locked-down environments. To opt in, install
206
+ `eslint-plugin-json-schema-validator` in the consuming repo and set the opt-in
207
+ environment variable when running ESLint:
209
208
 
210
209
  ```sh
211
210
  ENABLE_JSON_SCHEMA_VALIDATION=1 eslint .
212
211
  ```
213
212
 
214
- ## Progress output
213
+ ### Progress output
215
214
 
216
- `eslint-plugin-file-progress-2` is enabled. Control it with `ESLINT_PROGRESS`:
215
+ `eslint-plugin-file-progress-2` is enabled by default. Control it with
216
+ `ESLINT_PROGRESS`:
217
217
 
218
- - unset / `on`: show progress and file names
219
- - `nofile`: show progress without file names
220
- - `off`, `0`, or `false`: disable progress
218
+ | Value | Behavior |
219
+ | --- | --- |
220
+ | unset or `on` | Show progress and file names. |
221
+ | `nofile` | Show progress without file names. |
222
+ | `off`, `0`, or `false` | Disable progress output. |
221
223
 
222
224
  ## Development checks
223
225
 
224
- Use the aggregate scripts before publishing or opening a pull request:
226
+ Use the aggregate scripts before opening a pull request or publishing:
225
227
 
226
228
  ```sh
227
229
  npm run lint:all
228
230
  npm run release:verify
229
231
  ```
230
232
 
231
- The release verification pipeline runs typechecking, Vitest tests, ESLint,
232
- Prettier, package sorting/linting, `publint`, ATTW in ESM-only mode, YAML lint,
233
- `actionlint`, and Secretlint. Release notes are generated with `git-cliff` via
234
- the `changelog:*` scripts.
235
-
236
- For maintainers, see [MAINTAINER_GUIDE.md](./MAINTAINER_GUIDE.md).
237
- Historical wording diffs are captured in [DIFF_NOTES.md](./DIFF_NOTES.md).
233
+ `lint:all` builds the runtime, runs ESLint, typechecks, runs Vitest, checks
234
+ Prettier formatting, validates package metadata and published package shape,
235
+ lints YAML, and runs Secretlint. `release:verify` adds the stricter no-cache lint
236
+ path, package checks with `publint` and ATTW, and sync checks for peer ranges and
237
+ Node version files.
238
+
239
+ Release notes are generated with `git-cliff` through the `changelog:*` scripts.
240
+ For contribution and maintenance workflows, see the
241
+ [contributing guide](./CONTRIBUTING.md) and
242
+ [maintainer guide](./docs/maintainer-guide.md). Historical wording diffs are
243
+ captured in [diff notes](./docs/diff-notes.md).
244
+
245
+ ## Contributors
246
+
247
+ [![All Contributors](https://img.shields.io/github/all-contributors/Nick2bad4u/eslint-config-nick2bad4u?color=ee8449&style=flat-square)](#contributors)
248
+
249
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
250
+ <!-- prettier-ignore-start -->
251
+ <!-- markdownlint-disable -->
252
+ <table>
253
+ <tbody>
254
+ <tr>
255
+ <td align="center" valign="top" width="25%"><a href="https://github.com/Nick2bad4u"><img src="https://avatars.githubusercontent.com/u/20943337?v=4?s=80" width="80px;" alt="Nick2bad4u"/><br /><sub><b>Nick2bad4u</b></sub></a><br /><a href="https://github.com/Nick2bad4u/eslint-config-nick2bad4u/issues?q=author%3ANick2bad4u" title="Bug reports">🐛</a> <a href="https://github.com/Nick2bad4u/eslint-config-nick2bad4u/commits?author=Nick2bad4u" title="Code">💻</a> <a href="https://github.com/Nick2bad4u/eslint-config-nick2bad4u/commits?author=Nick2bad4u" title="Documentation">📖</a> <a href="#ideas-Nick2bad4u" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-Nick2bad4u" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-Nick2bad4u" title="Maintenance">🚧</a> <a href="https://github.com/Nick2bad4u/eslint-config-nick2bad4u/pulls?q=is%3Apr+reviewed-by%3ANick2bad4u" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/Nick2bad4u/eslint-config-nick2bad4u/commits?author=Nick2bad4u" title="Tests">⚠️</a> <a href="#tool-Nick2bad4u" title="Tools">🔧</a></td>
256
+ <td align="center" valign="top" width="25%"><a href="https://snyk.io/"><img src="https://avatars.githubusercontent.com/u/19733683?v=4?s=80" width="80px;" alt="Snyk bot"/><br /><sub><b>Snyk bot</b></sub></a><br /><a href="#security-snyk-bot" title="Security">🛡️</a> <a href="#infra-snyk-bot" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-snyk-bot" title="Maintenance">🚧</a> <a href="https://github.com/Nick2bad4u/eslint-config-nick2bad4u/pulls?q=is%3Apr+reviewed-by%3Asnyk-bot" title="Reviewed Pull Requests">👀</a></td>
257
+ <td align="center" valign="top" width="25%"><a href="https://www.stepsecurity.io/"><img src="https://avatars.githubusercontent.com/u/89328645?v=4?s=80" width="80px;" alt="StepSecurity Bot"/><br /><sub><b>StepSecurity Bot</b></sub></a><br /><a href="#security-step-security-bot" title="Security">🛡️</a> <a href="#infra-step-security-bot" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-step-security-bot" title="Maintenance">🚧</a></td>
258
+ <td align="center" valign="top" width="25%"><a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4?s=80" width="80px;" alt="dependabot[bot]"/><br /><sub><b>dependabot[bot]</b></sub></a><br /><a href="#infra-dependabot[bot]" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#security-dependabot[bot]" title="Security">🛡️</a></td>
259
+ </tr>
260
+ <tr>
261
+ <td align="center" valign="top" width="25%"><a href="https://github.com/apps/github-actions"><img src="https://avatars.githubusercontent.com/in/15368?v=4?s=80" width="80px;" alt="github-actions[bot]"/><br /><sub><b>github-actions[bot]</b></sub></a><br /><a href="https://github.com/Nick2bad4u/eslint-config-nick2bad4u/commits?author=github-actions[bot]" title="Code">💻</a> <a href="#infra-github-actions[bot]" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td>
262
+ </tr>
263
+ </tbody>
264
+ </table>
265
+
266
+ <!-- markdownlint-restore -->
267
+ <!-- prettier-ignore-end -->
268
+
269
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
package/dist/preset.js CHANGED
@@ -4,12 +4,12 @@ export const presets = Object.freeze({
4
4
  all: sharedConfigs.all,
5
5
  base: sharedConfigs.base,
6
6
  recommended: sharedConfigs.recommended,
7
- withoutChunkyLint: sharedConfigs.withoutChunkyLint,
8
7
  withoutCopilot: sharedConfigs.withoutCopilot,
9
8
  withoutDocusaurus2: sharedConfigs.withoutDocusaurus2,
10
9
  withoutEtcMisc: sharedConfigs.withoutEtcMisc,
11
10
  withoutFileProgress2: sharedConfigs.withoutFileProgress2,
12
- withoutGithubActions2: sharedConfigs.withoutGithubActions2,
11
+ withoutGitHubActions2: sharedConfigs.withoutGitHubActions2,
12
+ withoutGithubActions2: sharedConfigs.withoutGitHubActions2,
13
13
  withoutImmutable2: sharedConfigs.withoutImmutable2,
14
14
  withoutRemark: sharedConfigs.withoutRemark,
15
15
  withoutRepo: sharedConfigs.withoutRepo,
@@ -21,11 +21,10 @@ export const presets = Object.freeze({
21
21
  withoutTsdocRequire2: sharedConfigs.withoutTsdocRequire2,
22
22
  withoutTypedoc: sharedConfigs.withoutTypedoc,
23
23
  withoutTypefest: sharedConfigs.withoutTypefest,
24
- withoutUptimeWatcher: sharedConfigs.withoutUptimeWatcher,
25
24
  withoutVite: sharedConfigs.withoutVite,
26
25
  withoutWriteGoodComments2: sharedConfigs.withoutWriteGoodComments2,
27
26
  });
28
- /** Create the shared Nick2bad4u ESLint flat config. */
27
+ /** Create the shared Nick2Bad4U ESLint flat config. */
29
28
  export const createConfig = (options) => createSharedConfig(options);
30
29
  /** Default package export containing config presets and factory helper. */
31
30
  const nickTwoBadFourU = Object.freeze({
@@ -1 +1 @@
1
- {"version":3,"file":"preset.js","sourceRoot":"","sources":["../src/preset.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,IAAI,kBAAkB,EAGlC,OAAO,IAAI,aAAa,GAC3B,MAAM,oBAAoB,CAAC;AAE5B,kCAAkC;AAClC,MAAM,CAAC,MAAM,OAAO,GAAkC,MAAM,CAAC,MAAM,CAAC;IAChE,GAAG,EAAE,aAAa,CAAC,GAAG;IACtB,IAAI,EAAE,aAAa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