@ornikar/eslint-config 22.7.2 → 22.7.3
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 +9 -0
- package/package.json +5 -5
- package/rules/node.js +1 -1
- package/rules/style.js +2 -0
- package/rules/unicorn.js +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## <small>22.7.3 (2026-05-26)</small>
|
|
7
|
+
|
|
8
|
+
* feat!: ESLint v9 engine bump (legacy .eslintrc preserved) [OSE-20589] (#818) ([9683864](https://github.com/ornikar/eslint-configs/commit/9683864)), closes [#818](https://github.com/ornikar/eslint-configs/issues/818)
|
|
9
|
+
* feat(deps): update dependency eslint-plugin-n to v18 (#808) ([298bc08](https://github.com/ornikar/eslint-configs/commit/298bc08)), closes [#808](https://github.com/ornikar/eslint-configs/issues/808)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## <small>22.7.2 (2026-05-22)</small>
|
|
7
16
|
|
|
8
17
|
* feat(deps): update typescript-eslint monorepo to v8 (major) (#780) ([7b982e9](https://github.com/ornikar/eslint-configs/commit/7b982e9)), closes [#780](https://github.com/ornikar/eslint-configs/issues/780)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ornikar/eslint-config",
|
|
3
|
-
"version": "22.7.
|
|
3
|
+
"version": "22.7.3",
|
|
4
4
|
"description": "eslint config files",
|
|
5
5
|
"repository": {
|
|
6
6
|
"directory": "@ornikar/eslint-config",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@ornikar/eslint-plugin-ornikar": "22.7.
|
|
19
|
+
"@ornikar/eslint-plugin-ornikar": "22.7.3",
|
|
20
20
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
21
21
|
"eslint-config-prettier": "^10.0.0",
|
|
22
22
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
23
23
|
"eslint-plugin-import": "^2.25.4",
|
|
24
24
|
"eslint-plugin-jest": "^29.0.0",
|
|
25
25
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
26
|
-
"eslint-plugin-n": "^
|
|
26
|
+
"eslint-plugin-n": "^17.0.0",
|
|
27
27
|
"eslint-plugin-security": "^4.0.0",
|
|
28
28
|
"eslint-plugin-simple-import-sort": "^13.0.0",
|
|
29
29
|
"eslint-plugin-unicorn": "^56.0.1"
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"prettier": "^2.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"eslint": "
|
|
36
|
+
"eslint": "9.39.4",
|
|
37
37
|
"prettier": "2.8.8"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
|
-
"lint:eslint": "yarn ../.. eslint --report-unused-disable-directives --quiet @ornikar/eslint-config"
|
|
40
|
+
"lint:eslint": "ESLINT_USE_FLAT_CONFIG=false yarn ../.. eslint --report-unused-disable-directives --quiet @ornikar/eslint-config"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/rules/node.js
CHANGED
package/rules/style.js
CHANGED
package/rules/unicorn.js
CHANGED
|
@@ -113,7 +113,12 @@ const formTree = shallow(tree.find(x => FormWithApiCall(x)).prop('children')());
|
|
|
113
113
|
{
|
|
114
114
|
allowWarningComments: false,
|
|
115
115
|
ignoreDatesOnPullRequests: true,
|
|
116
|
-
ignore: [
|
|
116
|
+
ignore: [
|
|
117
|
+
/(\[https:\/\/ornikar.atlassian.net\/browse\/[A-Z]+-\d+])/i, // JIRA issue format (ex: https://ornikar.atlassian.net/browse/DR-123)
|
|
118
|
+
// TODO [eslint-plugin-unicorn>=64]: remove both lines. This is a known bug where Unicorn flags lowercase and every other todo as errors (https://github.com/sindresorhus/eslint-plugin-unicorn/pull/2828).
|
|
119
|
+
/^\s*eslint-(?:disable|enable)/,
|
|
120
|
+
/github\.com\/sindresorhus\/eslint-plugin-unicorn/,
|
|
121
|
+
],
|
|
117
122
|
date: '9999-12-31', // invalidates all expiring dates <9999-12-31
|
|
118
123
|
},
|
|
119
124
|
],
|