@singlepixellab/eslint-config 2.2.5 → 2.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singlepixellab/eslint-config",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "The ESLint rules and configs used by Single Pixel Lab",
5
5
  "author": "Single Pixel Lab",
6
6
  "keywords": [
package/rules/core.js CHANGED
@@ -533,16 +533,8 @@ export default [
533
533
  // prevent undefined from being shadowed or assigned a different value
534
534
  "no-undefined": "off",
535
535
 
536
- // Disallow dangling underscores in identifiers
537
- "no-underscore-dangle": [
538
- "error",
539
- {
540
- allow: [],
541
- allowAfterThis: false,
542
- allowAfterSuper: false,
543
- enforceInMethodNames: true,
544
- },
545
- ],
536
+ // Allow underscores in identifiers for flexibility
537
+ "no-underscore-dangle": "off",
546
538
 
547
539
  // Disallow the use of Boolean literals in conditional expressions
548
540
  // also, prefer `a || b` over `a ? a : b`
@@ -19,6 +19,9 @@ export default [
19
19
  },
20
20
  },
21
21
  rules: {
22
+ "@typescript-eslint/no-inferrable-types": "off",
23
+ "@typescript-eslint/consistent-indexed-object-style": "off",
24
+
22
25
  // Ensure that all explicitly declared properties are actually used
23
26
  "no-unused-vars": "off",
24
27
  "@typescript-eslint/no-unused-vars": [