eslint-config-henderea 2.0.74 → 2.0.76

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/.eslintrc.js CHANGED
@@ -21,9 +21,6 @@ module.exports = {
21
21
  jsx: true
22
22
  }
23
23
  },
24
- linterOptions: {
25
- reportUnusedDisableDirectives: false
26
- },
27
24
  rules: {
28
25
  indent: [
29
26
  'error',
package/eslint.config.mjs CHANGED
@@ -11,6 +11,11 @@ export default [
11
11
  {
12
12
  files: ['**/*.js', '**/*.mjs', '**/*.cjs', '**/*.jsx', '**/*.ts', '**/*.tsx'],
13
13
  },
14
+ {
15
+ linterOptions: {
16
+ reportUnusedDisableDirectives: false
17
+ }
18
+ },
14
19
  {
15
20
  plugins: {
16
21
  '@typescript-eslint': typescriptEslint,
@@ -31,6 +36,9 @@ export default [
31
36
 
32
37
  parserOptions: {
33
38
  requireConfigFile: false,
39
+ ecmaFeatures: {
40
+ jsx: true
41
+ },
34
42
  },
35
43
  },
36
44
 
@@ -115,7 +123,8 @@ export default [
115
123
  '@typescript-eslint/no-this-alias': 0,
116
124
  'no-control-regex': 0,
117
125
  '@typescript-eslint/no-namespace': 0,
118
- 'no-redeclare': ['error', {
126
+ 'no-redeclare': 0,
127
+ '@typescript-eslint/no-redeclare': ['error', {
119
128
  builtinGlobals: false,
120
129
  }],
121
130
  '@typescript-eslint/no-require-imports': 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-henderea",
3
- "version": "2.0.74",
3
+ "version": "2.0.76",
4
4
  "description": "ESLint Config used by henderea",
5
5
  "main": "index.mjs",
6
6
  "author": "henderea",