@theholocron/eslint-config 6.0.2 → 6.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.
@@ -4,10 +4,5 @@ import { typescript } from "../configs/typescript.js";
4
4
  import { vitest } from "../configs/vitest.js";
5
5
 
6
6
  export function nodeApp() {
7
- return [
8
- ...base(),
9
- ...node(),
10
- ...typescript(),
11
- ...vitest(),
12
- ];
7
+ return [...base(), ...node(), ...typescript(), ...vitest()];
13
8
  }
@@ -5,9 +5,7 @@ export function cypressConfig() {
5
5
  {
6
6
  name: "@theholocron/cypress",
7
7
  files: ["cypress/**/*.{js,ts,jsx,tsx}"],
8
- extends: [
9
- cypress.configs.recommended,
10
- ],
8
+ extends: [cypress.configs.recommended],
11
9
  },
12
10
  ];
13
11
  }
package/configs/react.js CHANGED
@@ -1,10 +1,7 @@
1
1
  import react from "eslint-plugin-react";
2
2
 
3
3
  export function reactConfig() {
4
- return [
5
- react.configs.flat.recommended,
6
- react.configs.flat["jsx-runtime"],
7
- ];
4
+ return [react.configs.flat.recommended, react.configs.flat["jsx-runtime"]];
8
5
  }
9
6
 
10
7
  export { reactConfig as react };
@@ -14,6 +14,6 @@ export function typescript() {
14
14
  },
15
15
  ],
16
16
  },
17
- }
17
+ },
18
18
  ];
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/eslint-config",
3
- "version": "6.0.2",
3
+ "version": "6.1.1",
4
4
  "description": "A ESLint configuration for writing well-formed Javascript within the Galaxy.",
5
5
  "homepage": "https://github.com/theholocron/configs/tree/main/packages/eslint-config#readme",
6
6
  "bugs": "https://github.com/theholocron/configs/issues",