eslint-config-complete 4.13.0 → 4.14.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.
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/base.js"],"names":[],"mappings":"AAYA;;;;;GAKG;AACH,kEA2BE"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/base.js"],"names":[],"mappings":"AAYA;;;;;GAKG;AACH,kEAmCE"}
package/dist/src/base.js CHANGED
@@ -23,11 +23,19 @@ export const completeConfigBase = defineConfig(
23
23
  ...basePerfectionist, ...baseRegexp, ...baseUnicorn,
24
24
  // TODO: The `defineConfig` helper function is bugged.
25
25
  // @ts-expect-error https://github.com/typescript-eslint/typescript-eslint/issues/11543
26
- ...esLintPluginComplete.configs.recommended, {
27
- // By default, ESLint ignores "**/node_modules/" and ".git/":
28
- // https://eslint.org/docs/latest/use/configure/ignore#ignoring-files
29
- // We also want to ignore:
30
- // - The "dist" directory, since it is the idiomatic place for compiled output in TypeScript.
31
- // - Minified JavaScript files.
26
+ ...esLintPluginComplete.configs.recommended,
27
+ // By default, ESLint ignores "**/node_modules/" and ".git/":
28
+ // https://eslint.org/docs/latest/use/configure/ignore#ignoring-files
29
+ // We also want to ignore:
30
+ // - The "dist" directory, since it is the idiomatic place for compiled output in TypeScript.
31
+ // - Minified JavaScript files.
32
+ {
32
33
  ignores: ["**/dist/", "*.min.js"],
34
+ },
35
+ // By default, ESLint will warn on unused disable directives, but since warnings will still result
36
+ // in a 0 exit code, we need to set this to "error".
37
+ {
38
+ linterOptions: {
39
+ reportUnusedDisableDirectives: "error",
40
+ },
33
41
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-complete",
3
- "version": "4.13.0",
3
+ "version": "4.14.0",
4
4
  "description": "A sharable ESLint config for TypeScript projects.",
5
5
  "keywords": [
6
6
  "eslint",