@peerigon/configs 4.4.1 → 5.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # [5.0.0](https://github.com/peerigon/configs/compare/v4.4.2...v5.0.0) (2025-03-31)
2
+
3
+ ### Features
4
+
5
+ - bump eslint-plugin-unicorn from 57.0.0 to 58.0.0 ([#46](https://github.com/peerigon/configs/issues/46)) ([199ebe8](https://github.com/peerigon/configs/commit/199ebe8317ddfa8a4bf6bf90b36e35eccd71c295))
6
+
7
+ ### BREAKING CHANGES
8
+
9
+ - See eslint-plugin-unicorn release notes
10
+
11
+ ## [4.4.2](https://github.com/peerigon/configs/compare/v4.4.1...v4.4.2) (2025-03-26)
12
+
13
+ ### Bug Fixes
14
+
15
+ - **eslint:** Ignore noDefaultExport in config files ([ae8c3ea](https://github.com/peerigon/configs/commit/ae8c3ea86066d5cde34eac0edd5415dd617a4e43))
16
+
1
17
  ## [4.4.1](https://github.com/peerigon/configs/compare/v4.4.0...v4.4.1) (2025-03-24)
2
18
 
3
19
  ### Bug Fixes
@@ -5,4 +5,5 @@ export namespace globPatterns {
5
5
  let jsx: string[];
6
6
  let typescriptJsx: string[];
7
7
  let tests: string[];
8
+ let configs: string[];
8
9
  }
@@ -8,4 +8,5 @@ export const globPatterns = {
8
8
  "**/*.{test,spec,stories}.{js,mjs,cjs,ts,cts,mts,jsx,tsx}",
9
9
  "**/test{s,}/**/*.{js,mjs,cjs,ts,cts,mts,jsx,tsx}",
10
10
  ],
11
+ configs: ["**/*.config.*", "**/.eslintrc.*", "**/.prettierrc.*"],
11
12
  };
@@ -1,8 +1,9 @@
1
+ import { globPatterns } from "../lib/glob-patterns.js";
1
2
  /** @type {import("eslint").Linter.Config[]} */
2
3
  export const noDefaultExport = [
3
4
  {
4
5
  // Config files often have a single default export
5
- ignores: ["*.config.{js,ts}"],
6
+ ignores: globPatterns.configs,
6
7
  rules: {
7
8
  "no-restricted-syntax": [
8
9
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerigon/configs",
3
- "version": "4.4.1",
3
+ "version": "5.0.0",
4
4
  "description": "Configs for ESLint, Prettier, TypeScript & friends",
5
5
  "keywords": [
6
6
  "eslint",
@@ -82,7 +82,7 @@
82
82
  "eslint-plugin-react-compiler": "^19.0.0-beta-714736e-20250131",
83
83
  "eslint-plugin-react-hooks": "^5.2.0",
84
84
  "eslint-plugin-react-refresh": "^0.4.19",
85
- "eslint-plugin-unicorn": "^57.0.0",
85
+ "eslint-plugin-unicorn": "^58.0.0",
86
86
  "globals": "^16.0.0",
87
87
  "prettier-plugin-css-order": "^2.1.2",
88
88
  "prettier-plugin-jsdoc": "^1.3.2",