@theholocron/eslint-config 6.1.0 → 7.0.0

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,17 @@
1
+ import { base } from "../configs/base.js";
2
+ import { typescript } from "../configs/typescript.js";
3
+ import { node } from "../configs/node.js";
4
+ //#region bundles/library.ts
5
+ function library() {
6
+ return [
7
+ ...base(),
8
+ ...node(),
9
+ ...typescript(),
10
+ {
11
+ name: "@theholocron/library",
12
+ rules: { "n/hashbang": "off" }
13
+ }
14
+ ];
15
+ }
16
+ //#endregion
17
+ export { library };
@@ -0,0 +1,5 @@
1
+ import { Linter } from "eslint";
2
+ //#region bundles/next-app.d.ts
3
+ declare function nextApp(): Linter.FlatConfig[];
4
+ //#endregion
5
+ export { nextApp };
@@ -0,0 +1,21 @@
1
+ import { base } from "../configs/base.js";
2
+ import { typescript } from "../configs/typescript.js";
3
+ import { cypress as cypressConfig } from "../configs/cypress.js";
4
+ import { next as nextConfig } from "../configs/next.js";
5
+ import { react as reactConfig } from "../configs/react.js";
6
+ import { storybook as storybookConfig } from "../configs/storybook.js";
7
+ import { vitest as vitestConfig } from "../configs/vitest.js";
8
+ //#region bundles/next-app.ts
9
+ function nextApp() {
10
+ return [
11
+ ...base(),
12
+ ...typescript(),
13
+ ...reactConfig(),
14
+ ...nextConfig(),
15
+ ...vitestConfig(),
16
+ ...storybookConfig(),
17
+ ...cypressConfig()
18
+ ];
19
+ }
20
+ //#endregion
21
+ export { nextApp };