@paratco/eslint-config 2.2.2 → 2.2.4

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.
@@ -129,6 +129,7 @@ declare const _default: ({
129
129
  "unicorn/switch-case-braces": string[];
130
130
  "unicorn/prefer-spread": string[];
131
131
  "unicorn/prefer-at": string[];
132
+ "unicorn/prefer-ternary": string[];
132
133
  "unicorn/no-typeof-undefined": string[];
133
134
  "unicorn/no-static-only-class": string[];
134
135
  };
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAwBE"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/configs/base.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAwBE"}
@@ -129,6 +129,7 @@ declare const _default: ({
129
129
  "unicorn/switch-case-braces": string[];
130
130
  "unicorn/prefer-spread": string[];
131
131
  "unicorn/prefer-at": string[];
132
+ "unicorn/prefer-ternary": string[];
132
133
  "unicorn/no-typeof-undefined": string[];
133
134
  "unicorn/no-static-only-class": string[];
134
135
  };
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/configs/node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAKE"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/configs/node.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAKE"}
@@ -131,6 +131,7 @@ declare const _default: ({
131
131
  "unicorn/switch-case-braces": string[];
132
132
  "unicorn/prefer-spread": string[];
133
133
  "unicorn/prefer-at": string[];
134
+ "unicorn/prefer-ternary": string[];
134
135
  "unicorn/no-typeof-undefined": string[];
135
136
  "unicorn/no-static-only-class": string[];
136
137
  };
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../src/configs/react.ts"],"names":[],"mappings":"AAIA,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,gBAAgB,MAAM,2BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMzD,wBA+CE"}
package/dist/index.d.ts CHANGED
@@ -130,6 +130,7 @@ declare const _default: {
130
130
  "unicorn/switch-case-braces": string[];
131
131
  "unicorn/prefer-spread": string[];
132
132
  "unicorn/prefer-at": string[];
133
+ "unicorn/prefer-ternary": string[];
133
134
  "unicorn/no-typeof-undefined": string[];
134
135
  "unicorn/no-static-only-class": string[];
135
136
  };
@@ -265,6 +266,7 @@ declare const _default: {
265
266
  "unicorn/switch-case-braces": string[];
266
267
  "unicorn/prefer-spread": string[];
267
268
  "unicorn/prefer-at": string[];
269
+ "unicorn/prefer-ternary": string[];
268
270
  "unicorn/no-typeof-undefined": string[];
269
271
  "unicorn/no-static-only-class": string[];
270
272
  };
@@ -3177,6 +3179,7 @@ declare const _default: {
3177
3179
  "unicorn/switch-case-braces": string[];
3178
3180
  "unicorn/prefer-spread": string[];
3179
3181
  "unicorn/prefer-at": string[];
3182
+ "unicorn/prefer-ternary": string[];
3180
3183
  "unicorn/no-typeof-undefined": string[];
3181
3184
  "unicorn/no-static-only-class": string[];
3182
3185
  };
@@ -3273,7 +3276,7 @@ declare const _default: {
3273
3276
  "import-x/resolver-next": {
3274
3277
  interfaceVersion: number;
3275
3278
  name: string;
3276
- resolve(source: string, file: string): import("eslint-plugin-import-x").ResolvedResult;
3279
+ resolve(source: string, file: string): import("eslint-import-context").ResolvedResult;
3277
3280
  }[];
3278
3281
  };
3279
3282
  rules: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAOE"}
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  "unicorn/switch-case-braces": string[];
7
7
  "unicorn/prefer-spread": string[];
8
8
  "unicorn/prefer-at": string[];
9
+ "unicorn/prefer-ternary": string[];
9
10
  "unicorn/no-typeof-undefined": string[];
10
11
  "unicorn/no-static-only-class": string[];
11
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"unicorn.d.ts","sourceRoot":"","sources":["../../src/rules/unicorn.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,wBAoCE"}
1
+ {"version":3,"file":"unicorn.d.ts","sourceRoot":"","sources":["../../src/rules/unicorn.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wBAwCE"}
@@ -20,6 +20,9 @@ export default {
20
20
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-at.md
21
21
  // Prefer .at() method for index access and String#charAt().
22
22
  "unicorn/prefer-at": ["off"],
23
+ // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-ternary.md
24
+ // Prefer ternary expressions over simple if-else statements.
25
+ "unicorn/prefer-ternary": ["warn", "only-single-line"],
23
26
  // https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-typeof-undefined.md
24
27
  // Disallow comparing undefined using typeof.
25
28
  "unicorn/no-typeof-undefined": ["off"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paratco/eslint-config",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "type": "module",
5
5
  "author": "Paratco",
6
6
  "license": "ISC",
@@ -37,26 +37,26 @@
37
37
  "build": "tsc"
38
38
  },
39
39
  "peerDependencies": {
40
- "eslint": "^9.27.0",
41
- "typescript-eslint": "^8.32.1"
40
+ "eslint": "^9.28.0",
41
+ "typescript-eslint": "^8.33.0"
42
42
  },
43
43
  "optionalDependencies": {
44
44
  "prettier": "^3.5.3"
45
45
  },
46
46
  "dependencies": {
47
- "@eslint/js": "^9.27.0",
48
- "@stylistic/eslint-plugin": "^4.2.0",
49
- "eslint": "^9.27.0",
47
+ "@eslint/js": "^9.28.0",
48
+ "@stylistic/eslint-plugin": "^4.4.0",
49
+ "eslint": "^9.28.0",
50
50
  "eslint-config-prettier": "^10.1.5",
51
- "eslint-import-resolver-typescript": "^4.3.5",
52
- "eslint-plugin-import-x": "^4.12.2",
51
+ "eslint-import-resolver-typescript": "^4.4.2",
52
+ "eslint-plugin-import-x": "^4.15.0",
53
53
  "eslint-plugin-react": "^7.37.5",
54
54
  "eslint-plugin-react-hooks": "5.2.0",
55
55
  "eslint-plugin-react-refresh": "^0.4.20",
56
56
  "eslint-plugin-unicorn": "^59.0.1",
57
57
  "eslint-plugin-unused-imports": "^4.1.4",
58
- "globals": "^16.1.0",
59
- "typescript-eslint": "^8.32.1"
58
+ "globals": "^16.2.0",
59
+ "typescript-eslint": "^8.33.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "typescript": "^5.8.3"