eslint-config-henderea 2.0.10 → 2.0.12

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.
@@ -0,0 +1,23 @@
1
+ {
2
+ // These are all my auto-save configs
3
+ "editor.formatOnSave": false,
4
+ // turn it off for JS and JSX, we will do this via eslint
5
+ "[javascript]": {
6
+ "editor.formatOnSave": false
7
+ },
8
+ "[javascriptreact]": {
9
+ "editor.formatOnSave": false
10
+ },
11
+ "[typescript]": {
12
+ "editor.formatOnSave": false
13
+ },
14
+ "[typescriptreact]": {
15
+ "editor.formatOnSave": false
16
+ },
17
+ // tell the ESLint plugin to run on save
18
+ "editor.codeActionsOnSave": {
19
+ "source.fixAll.eslint": "always"
20
+ },
21
+ "editor.tabSize": 2,
22
+ "eslint.useFlatConfig": true,
23
+ }
package/eslint.config.mjs CHANGED
@@ -8,6 +8,9 @@ import tseslint from 'typescript-eslint';
8
8
  export default [
9
9
  js.configs.recommended,
10
10
  ...tseslint.configs.recommended,
11
+ {
12
+ files: ['**/*.js', '**/*.mjs', '**/*.cjs', '**/*.jsx', '**/*.ts', '**/*.tsx'],
13
+ },
11
14
  {
12
15
  plugins: {
13
16
  '@typescript-eslint': typescriptEslint,
@@ -31,8 +34,6 @@ export default [
31
34
  },
32
35
  },
33
36
 
34
- files: ['**/*.js', '**/*.mjs', '**/*.cjs', '**/*.jsx', '**/*.ts', '**/*.tsx'],
35
-
36
37
  rules: {
37
38
  indent: ['error', 2, {
38
39
  SwitchCase: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-henderea",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "description": "ESLint Config used by henderea",
5
5
  "main": "index.mjs",
6
6
  "author": "henderea",
@@ -11,23 +11,23 @@
11
11
  },
12
12
  "devDependencies": {
13
13
  "@stylistic/eslint-plugin": "^2.9.0",
14
- "@typescript-eslint/eslint-plugin": "^8.10.0",
15
- "@typescript-eslint/parser": "^8.10.0",
16
- "eslint": "^9.12.0",
14
+ "@typescript-eslint/eslint-plugin": "^8.11.0",
15
+ "@typescript-eslint/parser": "^8.11.0",
16
+ "eslint": "^9.13.0",
17
17
  "eslint-plugin-import": "^2.31.0",
18
18
  "globals": "^15.11.0",
19
19
  "typescript": "^5.6.3",
20
- "typescript-eslint": "^8.10.0"
20
+ "typescript-eslint": "^8.11.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@stylistic/eslint-plugin": "^2.9.0",
24
- "@typescript-eslint/eslint-plugin": "^8.10.0",
25
- "@typescript-eslint/parser": "^8.10.0",
26
- "eslint": "^9.12.0",
24
+ "@typescript-eslint/eslint-plugin": "^8.11.0",
25
+ "@typescript-eslint/parser": "^8.11.0",
26
+ "eslint": "^9.13.0",
27
27
  "eslint-plugin-import": "^2.31.0",
28
28
  "globals": "^15.11.0",
29
29
  "typescript": "^5.6.3",
30
- "typescript-eslint": "^8.10.0"
30
+ "typescript-eslint": "^8.11.0"
31
31
  },
32
32
  "scripts": {
33
33
  "lint": "eslint .",