@peerigon/configs 6.1.0 → 6.3.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 +13 -0
- package/dist/eslint/rules/javascript.js +6 -0
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [6.3.0](https://github.com/peerigon/configs/compare/v6.2.0...v6.3.0) (2025-05-19)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- add linting rule to check for accidental test.only ([#76](https://github.com/peerigon/configs/issues/76)) ([25e8f17](https://github.com/peerigon/configs/commit/25e8f17d184efefff7767e68079e971a471ca11c))
|
|
6
|
+
|
|
7
|
+
# [6.2.0](https://github.com/peerigon/configs/compare/v6.1.0...v6.2.0) (2025-05-12)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **esint:** bump eslint-plugin-unicorn from 59.0.0 to 59.0.1 ([#75](https://github.com/peerigon/configs/issues/75)) ([2d6bcd0](https://github.com/peerigon/configs/commit/2d6bcd03fc6d4a28293358ed77f8c7897662fd88))
|
|
12
|
+
- **eslint:** bump eslint-plugin-react-refresh from 0.4.19 to 0.4.20 ([#74](https://github.com/peerigon/configs/issues/74)) ([a76f44c](https://github.com/peerigon/configs/commit/a76f44ca066550a8762acb5bc2642bc47114b88f))
|
|
13
|
+
|
|
1
14
|
# [6.1.0](https://github.com/peerigon/configs/compare/v6.0.1...v6.1.0) (2025-05-05)
|
|
2
15
|
|
|
3
16
|
### Features
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import js from "@eslint/js";
|
|
2
|
+
import noOnlyTests from "eslint-plugin-no-only-tests";
|
|
2
3
|
import unicornPlugin from "eslint-plugin-unicorn";
|
|
3
4
|
import { globPatterns } from "../lib/glob-patterns.js";
|
|
4
5
|
import { ruleOptions } from "../lib/rule-options.js";
|
|
@@ -139,6 +140,9 @@ export const javascript = [
|
|
|
139
140
|
},
|
|
140
141
|
{
|
|
141
142
|
files: globPatterns.tests,
|
|
143
|
+
plugins: {
|
|
144
|
+
"no-only-tests": noOnlyTests,
|
|
145
|
+
},
|
|
142
146
|
rules: {
|
|
143
147
|
// Top-level await might slow down the test suite start up
|
|
144
148
|
"unicorn/prefer-top-level-await": "off",
|
|
@@ -148,6 +152,8 @@ export const javascript = [
|
|
|
148
152
|
"no-await-in-loop": "off",
|
|
149
153
|
// In case you want to test errors thrown by a constructor
|
|
150
154
|
"no-new": "off",
|
|
155
|
+
// should show a warning when a test is focussed
|
|
156
|
+
"no-only-tests/no-only-tests": "error",
|
|
151
157
|
},
|
|
152
158
|
},
|
|
153
159
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peerigon/configs",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"description": "Configs for ESLint, Prettier, TypeScript & friends",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -77,6 +77,7 @@
|
|
|
77
77
|
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
|
78
78
|
"eslint-config-prettier": "^10.0.2",
|
|
79
79
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
80
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
80
81
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
81
82
|
"eslint-plugin-react": "^7.37.4",
|
|
82
83
|
"eslint-plugin-react-compiler": "^19.0.0-beta-714736e-20250131",
|
|
@@ -91,6 +92,7 @@
|
|
|
91
92
|
"typescript-eslint": "^8.26.0"
|
|
92
93
|
},
|
|
93
94
|
"devDependencies": {
|
|
95
|
+
"@types/jest": "^29.5.14",
|
|
94
96
|
"@types/node": "^22.13.9",
|
|
95
97
|
"@types/react": "^19.0.10",
|
|
96
98
|
"@types/signale": "^1.4.7",
|