Skip to content

Commit 95f1f25

Browse files
committed
move config fragments into lib/
1 parent 50f6f03 commit 95f1f25

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

configs.mjs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// @ts-check
22

3-
import basicConfig from './basic.mjs'
4-
import stylisticConfig from './style.mjs'
5-
import typescriptConfig from './typescript.mjs'
6-
import reactConfig from './react.mjs'
3+
import basicConfig from './lib/basic.mjs'
4+
import stylisticConfig from './lib/style.mjs'
5+
import typescriptConfig from './lib/typescript.mjs'
6+
import reactConfig from './lib/react.mjs'
77

88
/** @type {import('eslint').Linter.Config[]} */
99
const base = [

basic.mjs renamed to lib/basic.mjs

File renamed without changes.

react.mjs renamed to lib/react.mjs

File renamed without changes.

style.mjs renamed to lib/style.mjs

File renamed without changes.
File renamed without changes.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"exports": {
66
".": "./configs.mjs",
7-
"./style": "./style.mjs"
7+
"./style": "./lib/style.mjs"
88
},
99
"dependencies": {
1010
"@eslint/compat": "^1.1.1",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"include": [
3-
"*.mjs",
3+
"*.{mjs,ts,js}",
4+
"lib/**.{mjs,ts,js}",
45
"*.d.ts"
56
],
67
"compilerOptions": {

0 commit comments

Comments
 (0)