@eslinted/defaults 6.1.1 → 6.2.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/dist/rules/index.d.ts
CHANGED
|
@@ -950,7 +950,7 @@ export declare const rules: {
|
|
|
950
950
|
readonly allowComparingNullableBooleansToFalse: true;
|
|
951
951
|
}];
|
|
952
952
|
readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
|
|
953
|
-
readonly allowConstantLoopConditions:
|
|
953
|
+
readonly allowConstantLoopConditions: "never";
|
|
954
954
|
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
955
955
|
}];
|
|
956
956
|
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": "error";
|
|
@@ -138,7 +138,7 @@ export declare const TsEnable: readonly ["enable", {
|
|
|
138
138
|
readonly allowComparingNullableBooleansToFalse: true;
|
|
139
139
|
}];
|
|
140
140
|
readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
|
|
141
|
-
readonly allowConstantLoopConditions:
|
|
141
|
+
readonly allowConstantLoopConditions: "never";
|
|
142
142
|
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
143
143
|
}];
|
|
144
144
|
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": "error";
|
package/dist/rules/ts/enable.js
CHANGED
|
@@ -344,7 +344,7 @@ export const TsEnable = [
|
|
|
344
344
|
"@typescript-eslint/no-unnecessary-condition": [
|
|
345
345
|
ERROR,
|
|
346
346
|
{
|
|
347
|
-
allowConstantLoopConditions:
|
|
347
|
+
allowConstantLoopConditions: never,
|
|
348
348
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
|
349
349
|
},
|
|
350
350
|
],
|
package/dist/rules/ts/index.d.ts
CHANGED
|
@@ -183,7 +183,7 @@ declare const _default: (readonly ["disable", {
|
|
|
183
183
|
readonly allowComparingNullableBooleansToFalse: true;
|
|
184
184
|
}];
|
|
185
185
|
readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
|
|
186
|
-
readonly allowConstantLoopConditions:
|
|
186
|
+
readonly allowConstantLoopConditions: "never";
|
|
187
187
|
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
188
188
|
}];
|
|
189
189
|
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": "error";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$template": "22.13.
|
|
2
|
+
"$template": "22.13.10",
|
|
3
3
|
"name": "@eslinted/defaults",
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.2.0",
|
|
5
5
|
"description": "Default scopes for `linted`.",
|
|
6
6
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
7
7
|
"license": "MIT",
|
|
@@ -72,9 +72,6 @@
|
|
|
72
72
|
"start:windows": "run-s start-%npm_package_config_language%",
|
|
73
73
|
"start-ts": "node .",
|
|
74
74
|
"start-svelte": "vite preview",
|
|
75
|
-
"postinstall": "run-os",
|
|
76
|
-
"postinstall:default": "rm -rf .eslintcache",
|
|
77
|
-
"postinstall:windows": "cmd /c if exist .eslintcache del /f /q .eslintcache",
|
|
78
75
|
"prepublishOnly": "npm test",
|
|
79
76
|
"postpublish": "run-os",
|
|
80
77
|
"postpublish:default": "if [ \"${npm_package_version#*-}\" = \"${npm_package_version}\" ]; then npm dist-tag add \"$npm_package_name@$npm_package_version\" latest; fi",
|
package/src/rules/ts/enable.ts
CHANGED
|
@@ -394,7 +394,7 @@ export const TsEnable = [
|
|
|
394
394
|
"@typescript-eslint/no-unnecessary-condition": [
|
|
395
395
|
ERROR,
|
|
396
396
|
{
|
|
397
|
-
allowConstantLoopConditions:
|
|
397
|
+
allowConstantLoopConditions: never,
|
|
398
398
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
|
399
399
|
},
|
|
400
400
|
],
|