@wildpastry/eslint-config 1.8.6 → 1.8.8

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -51,7 +51,7 @@ export default [
51
51
 
52
52
  // Additional Strict Rules
53
53
  'complexity': [1, 10], // enforce a maximum cyclomatic complexity - ENABLED with limit of 10
54
- 'no-magic-numbers': [1, { ignore: [0, 1, -1], ignoreArrayIndexes: true }], // disallow magic numbers - ENABLED with exceptions
54
+ 'no-magic-numbers': 0, // disallow magic numbers - OFF
55
55
  'id-length': [
56
56
  1,
57
57
  { min: 2, exceptions: ['i', 'j', 'k', 'x', 'y', 'z', '_'] }
@@ -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': 1, // disallow variable declarations from shadowing variables declared in the outer scope - ENABLED
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildpastry/eslint-config",
3
- "version": "1.8.6",
3
+ "version": "1.8.8",
4
4
  "description": "ESLint configuration file",
5
5
  "main": "index.js",
6
6
  "types": "types.d.ts",