@wildpastry/eslint-config 1.8.7 → 1.8.9
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -141,7 +141,7 @@ export default [
|
|
|
141
141
|
'no-return-await': 1, // disallow unnecessary `return await` - ENABLED
|
|
142
142
|
'no-script-url': 1, // disallow `javascript:` urls - ENABLED
|
|
143
143
|
'no-sequences': 1, // disallow comma operators - ENABLED
|
|
144
|
-
'no-shadow':
|
|
144
|
+
'no-shadow': 0, // disallow variable declarations from shadowing variables declared in the outer scope - OFF
|
|
145
145
|
'no-shadow-restricted-names': 0, // disallow identifiers from shadowing restricted names - OFF
|
|
146
146
|
'no-ternary': 0, // disallow ternary operators - OFF
|
|
147
147
|
'no-throw-literal': 1, // disallow throwing literals as exceptions - ENABLED
|
|
@@ -303,7 +303,7 @@ export default [
|
|
|
303
303
|
'@typescript-eslint/no-misused-promises': 1, // avoid using promises in places not designed to handle them - ENABLED
|
|
304
304
|
'@typescript-eslint/prefer-readonly': 1, // require private members to be marked as readonly if they're never modified - ENABLED
|
|
305
305
|
'@typescript-eslint/prefer-readonly-parameter-types': 0, // require function parameters to be typed as readonly - OFF
|
|
306
|
-
'@typescript-eslint/strict-boolean-expressions':
|
|
306
|
+
'@typescript-eslint/strict-boolean-expressions': 0, // restrict the types allowed in boolean expressions - OFF
|
|
307
307
|
// TypeScript formatting rules (disabled - handled by Prettier)
|
|
308
308
|
'@typescript-eslint/brace-style': 0, // OFF
|
|
309
309
|
'@typescript-eslint/comma-dangle': 0, // OFF
|