@peerigon/configs 1.0.0 → 1.1.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
+ # [1.1.0](https://github.com/peerigon/configs/compare/v1.0.1...v1.1.0) (2025-02-08)
2
+
3
+ ### Bug Fixes
4
+
5
+ - Do not complain about export default in config.ts files ([1e8b762](https://github.com/peerigon/configs/commit/1e8b762a6afe362f75e9095d25962864d10c3565))
6
+
7
+ ### Features
8
+
9
+ - Disable "max-nested-callbacks" in tests ([1690ac4](https://github.com/peerigon/configs/commit/1690ac493cdc0ed55b91f4c83a73c4b713bd3a6b))
10
+
11
+ ## [1.0.1](https://github.com/peerigon/configs/compare/v1.0.0...v1.0.1) (2025-02-04)
12
+
13
+ ### Bug Fixes
14
+
15
+ - Missing channel name in semantic-release config ([6f669f1](https://github.com/peerigon/configs/commit/6f669f18032e7221df6c78dc62b203d18e9abd9e))
16
+
1
17
  # 1.0.0 (2025-02-04)
2
18
 
3
19
  ### Bug Fixes
package/eslint/README.md CHANGED
@@ -27,7 +27,7 @@ export default [
27
27
  ];
28
28
  ```
29
29
 
30
- Recommended configuration in your `package.json` (using [`npm-run-all`](https://www.npmjs.com/package/npm-run-all)):
30
+ Recommended configuration in your `package.json` (using [`npm-run-all2`](https://www.npmjs.com/package/npm-run-all2)):
31
31
 
32
32
  ```json
33
33
  {
@@ -146,6 +146,8 @@ export const javascript = [
146
146
  rules: {
147
147
  // Top-level await might slow down the test suite start up
148
148
  "unicorn/prefer-top-level-await": "off",
149
+ // Nesting is pretty common in tests when you group tests
150
+ "max-nested-callbacks": "off",
149
151
  },
150
152
  },
151
153
  ];
@@ -2,7 +2,7 @@
2
2
  export const noDefaultExport = [
3
3
  {
4
4
  // Config files often have a single default export
5
- ignores: ["*.config.js"],
5
+ ignores: ["*.config.{js,ts}"],
6
6
  rules: {
7
7
  "no-restricted-syntax": [
8
8
  "error",
@@ -0,0 +1 @@
1
+ export default {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peerigon/configs",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Configs for ESLint, Prettier, TypeScript & friends",
5
5
  "keywords": [
6
6
  "eslint",
@@ -23,7 +23,7 @@ Recommended configuration in your `package.json`:
23
23
  "release": "semantic-release"
24
24
  },
25
25
  "publishConfig": {
26
- "//": "only if the package is supposed to be public"
26
+ "//": "only if the package is supposed to be public",
27
27
  "access": "public",
28
28
  "provenance": true
29
29
  }
@@ -1,6 +1,12 @@
1
1
  /** @type {import("semantic-release").Options} */
2
2
  export const config = {
3
- branches: ["main", { name: "beta", prerelease: true }],
3
+ branches: [
4
+ {
5
+ name: "main",
6
+ channel: "latest",
7
+ },
8
+ { name: "beta", prerelease: true },
9
+ ],
4
10
  plugins: [
5
11
  "@semantic-release/commit-analyzer",
6
12
  "@semantic-release/release-notes-generator",
@@ -1 +1 @@
1
- {"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../../eslint/rules/javascript.js"],"names":[],"mappings":"AAKA,+CAA+C;AAC/C,yBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAiJzC"}
1
+ {"version":3,"file":"javascript.d.ts","sourceRoot":"","sources":["../../../eslint/rules/javascript.js"],"names":[],"mappings":"AAKA,+CAA+C;AAC/C,yBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,CAmJzC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: {};
2
+ export default _default;
3
+ //# sourceMappingURL=vitest.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vitest.config.d.ts","sourceRoot":"","sources":["../../../../eslint/styles/no-default-export.test/vitest.config.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../semantic-release/base.js"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,qBADW,OAAO,kBAAkB,EAAE,OAAO,CAgC3C"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../semantic-release/base.js"],"names":[],"mappings":"AAAA,iDAAiD;AACjD,qBADW,OAAO,kBAAkB,EAAE,OAAO,CAsC3C"}