@peerigon/configs 14.3.0 → 14.5.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,16 @@
|
|
|
1
|
+
# [14.5.0](https://github.com/peerigon/configs/compare/v14.4.0...v14.5.0) (2026-03-10)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **eslint:** disable require-yield for tests ([e326f8f](https://github.com/peerigon/configs/commit/e326f8f2045df0247ff43f7b61ad37791d5a3fad))
|
|
6
|
+
|
|
7
|
+
# [14.4.0](https://github.com/peerigon/configs/compare/v14.3.0...v14.4.0) (2026-03-05)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **eslint:** Ignore _.generated._ files ([2fa45ae](https://github.com/peerigon/configs/commit/2fa45ae1cfd0a94679113c917f574cf73780265c))
|
|
12
|
+
- **prettier:** Ignore _.generated._ files ([aae8730](https://github.com/peerigon/configs/commit/aae8730871d4d37942eadc91f03fb036a171dc81))
|
|
13
|
+
|
|
1
14
|
# [14.3.0](https://github.com/peerigon/configs/compare/v14.2.0...v14.3.0) (2026-03-02)
|
|
2
15
|
|
|
3
16
|
### Features
|
|
@@ -7,6 +7,7 @@ const gitignoreExists = fs.existsSync(gitignorePath);
|
|
|
7
7
|
/** @type {import("eslint").Linter.Config[]} */
|
|
8
8
|
export const base = [
|
|
9
9
|
gitignoreExists ? includeIgnoreFile(gitignorePath) : {},
|
|
10
|
+
{ ignores: ["**/*.generated.*"] },
|
|
10
11
|
{
|
|
11
12
|
linterOptions: {
|
|
12
13
|
reportUnusedDisableDirectives: "warn",
|
|
@@ -153,6 +153,8 @@ export const javascript = [
|
|
|
153
153
|
"no-await-in-loop": "off",
|
|
154
154
|
// In case you want to test errors thrown by a constructor
|
|
155
155
|
"no-new": "off",
|
|
156
|
+
// Generators without yield are common in test helpers/setup
|
|
157
|
+
"require-yield": "off",
|
|
156
158
|
// should show a warning when a test is focussed (overridden to off when using vitest config)
|
|
157
159
|
"no-only-tests/no-only-tests": "error",
|
|
158
160
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file is intentionally unformatted to prove .prettierignore skips *.generated.*
|
|
2
|
+
const x = "double quotes";
|
|
3
|
+
const y = { a: 1, b: 2 };
|
|
4
|
+
/**
|
|
5
|
+
* @param {*} a
|
|
6
|
+
* @param {*} b
|
|
7
|
+
* @param {*} c
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
function foo(a, b, c) { return a + b + c; }
|