eslint-plugin-th-rules 2.1.0 → 2.1.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.1.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.1.0...v2.1.1) (2026-01-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update base recommended rules to disable specific TypeScript and lodash rules ([6b4c240](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/6b4c24062199bd8dda59407a844ae545903f8ddc))
7
+
1
8
  # [2.1.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.0.4...v2.1.0) (2026-01-09)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-th-rules",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A List of custom ESLint rules created by Tomer Horowitz",
5
5
  "keywords": [
6
6
  "eslint",
package/src/index.js CHANGED
@@ -65,7 +65,6 @@ const baseRecommended = {
65
65
  'th-rules/top-level-functions': 'error',
66
66
  'th-rules/schemas-in-schemas-file': 'error',
67
67
  'th-rules/types-in-dts': 'error',
68
-
69
68
  'unicorn/filename-case': 'off',
70
69
  'unicorn/no-array-callback-reference': 'off',
71
70
  'import/extensions': 'off',
@@ -78,7 +77,6 @@ const baseRecommended = {
78
77
  'n/prefer-global/process': 'off',
79
78
  'import/no-cycle': 'off',
80
79
  camelcase: 'warn',
81
-
82
80
  'sonarjs/mouse-events-a11y': 'off',
83
81
  'sonarjs/no-unstable-nested-components': 'off',
84
82
  'unicorn/prefer-global-this': 'off',
@@ -86,6 +84,11 @@ const baseRecommended = {
86
84
  'sonarjs/no-clear-text-protocols': 'off',
87
85
  'security/detect-unsafe-regex': 'off',
88
86
  'lodash/import-scope': [2, 'full'],
87
+ '@typescript-eslint/ban-types': 'off',
88
+ '@typescript-eslint/naming-convention': 'off',
89
+ '@typescript-eslint/no-restricted-types': 'off',
90
+ 'import-x/extensions': 'off',
91
+ 'lodash/chaining': ['error', 'implicit'],
89
92
  },
90
93
  };
91
94
 
@@ -110,7 +113,6 @@ plugin.configs['recommended-typescript'] = flatConfigs(
110
113
  },
111
114
  },
112
115
  rules: {
113
- '@typescript-eslint/naming-convention': 'warn',
114
116
  '@typescript-eslint/consistent-type-definitions': 'off',
115
117
  '@typescript-eslint/no-extraneous-class': 'off',
116
118
  '@typescript-eslint/no-duplicate-type-constituents': 'off',