-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.mjs
30 lines (28 loc) · 1011 Bytes
/
index.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import common from "./common.mjs";
import ignores from "./ignore.mjs";
import imp from "./imp.mjs";
import react from "./react.mjs";
import testReact from "./test-react.mjs";
import test from "./test.mjs";
import typescript from "./typescript.mjs";
export { default as browser } from "./browser.mjs";
export { default as common } from "./common.mjs";
export { default as commonjs } from "./commonjs.mjs";
export { default as imp } from "./imp.mjs";
export { default as node } from "./node.mjs";
export { default as nodeCommonjs } from "./node-commonjs.mjs";
export { default as react } from "./react.mjs";
export { default as test } from "./test.mjs";
export { default as testReact } from "./test-react.mjs";
export { default as typescript } from "./typescript.mjs";
export { default as ignores } from "./ignore.mjs";
/** @type { import("eslint").Linter.Config[] } */
export default projectName => [
...common,
...imp(projectName),
...react,
...typescript,
...test,
...testReact,
...ignores,
];