-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.mjs
33 lines (27 loc) · 802 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
31
32
33
import baseConfig from './bases/base.mjs'
import browserConfig from './bases/browser.mjs'
import nodeConfig from './bases/node.mjs'
import prettierConfig from './bases/prettier.mjs'
import reactConfig from './bases/react.mjs'
export * from './utils/applyConfig.mjs'
/** @typedef {import('./types/internal.d.ts').EslintConfig} EslintConfig */
/** @type {EslintConfig} */
export const eslintBrowserConfig = [
...baseConfig,
...browserConfig,
...prettierConfig,
]
/** @type {EslintConfig} */
export const eslintNodeConfig = [
...baseConfig,
...nodeConfig,
...prettierConfig,
]
/** @type {EslintConfig} */
export const eslintReactConfig = [
...baseConfig,
...browserConfig,
...reactConfig,
...prettierConfig,
]
export { default as eslintIgnoresConfig } from './bases/ignores.mjs'