@rhyster/eslint-config 1.3.0 → 1.4.1
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/package.json +6 -6
- package/src/airbnb/style.ts +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1697,6 +1697,7 @@ export declare const node: [{
|
|
|
1697
1697
|
readonly clearImmediate: false;
|
|
1698
1698
|
readonly clearInterval: false;
|
|
1699
1699
|
readonly clearTimeout: false;
|
|
1700
|
+
readonly CloseEvent: false;
|
|
1700
1701
|
readonly CompressionStream: false;
|
|
1701
1702
|
readonly console: false;
|
|
1702
1703
|
readonly CountQueuingStrategy: false;
|
|
@@ -1714,7 +1715,6 @@ export declare const node: [{
|
|
|
1714
1715
|
readonly FormData: false;
|
|
1715
1716
|
readonly global: false;
|
|
1716
1717
|
readonly Headers: false;
|
|
1717
|
-
readonly Iterator: false;
|
|
1718
1718
|
readonly MessageChannel: false;
|
|
1719
1719
|
readonly MessageEvent: false;
|
|
1720
1720
|
readonly MessagePort: false;
|
|
@@ -2742,6 +2742,7 @@ export declare const browser: [{
|
|
|
2742
2742
|
readonly CSSMatrixComponent: false;
|
|
2743
2743
|
readonly CSSMediaRule: false;
|
|
2744
2744
|
readonly CSSNamespaceRule: false;
|
|
2745
|
+
readonly CSSNestedDeclarations: false;
|
|
2745
2746
|
readonly CSSNumericArray: false;
|
|
2746
2747
|
readonly CSSNumericValue: false;
|
|
2747
2748
|
readonly CSSPageDescriptors: false;
|
|
@@ -3042,7 +3043,6 @@ export declare const browser: [{
|
|
|
3042
3043
|
readonly IntersectionObserver: false;
|
|
3043
3044
|
readonly IntersectionObserverEntry: false;
|
|
3044
3045
|
readonly isSecureContext: false;
|
|
3045
|
-
readonly Iterator: false;
|
|
3046
3046
|
readonly Keyboard: false;
|
|
3047
3047
|
readonly KeyboardEvent: false;
|
|
3048
3048
|
readonly KeyboardLayoutMap: false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhyster/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"@stylistic/eslint-plugin": "^2.10.1",
|
|
51
51
|
"confusing-browser-globals": "^1.0.11",
|
|
52
52
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
53
|
-
"eslint-plugin-import-x": "^4.4.
|
|
54
|
-
"eslint-plugin-n": "^17.
|
|
55
|
-
"globals": "^15.
|
|
56
|
-
"typescript-eslint": "^8.
|
|
53
|
+
"eslint-plugin-import-x": "^4.4.2",
|
|
54
|
+
"eslint-plugin-n": "^17.13.1",
|
|
55
|
+
"globals": "^15.12.0",
|
|
56
|
+
"typescript-eslint": "^8.14.0"
|
|
57
57
|
},
|
|
58
|
-
"packageManager": "pnpm@9.12.3
|
|
58
|
+
"packageManager": "pnpm@9.12.3"
|
|
59
59
|
}
|
package/src/airbnb/style.ts
CHANGED
|
@@ -307,7 +307,7 @@ export default {
|
|
|
307
307
|
|
|
308
308
|
// require multiline ternary
|
|
309
309
|
// https://eslint.style/rules/default/multiline-ternary
|
|
310
|
-
'@stylistic/multiline-ternary': ['error', '
|
|
310
|
+
'@stylistic/multiline-ternary': ['error', 'always-multiline'],
|
|
311
311
|
|
|
312
312
|
// require a capital letter for constructors
|
|
313
313
|
// https://eslint.org/docs/rules/new-cap
|