Skip to content

Commit

Permalink
move config fragments into lib/
Browse files Browse the repository at this point in the history
  • Loading branch information
slice committed Sep 14, 2024
1 parent 1abe5e6 commit 1efa335
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions configs.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// @ts-check

import basicConfig from './basic.mjs'
import stylisticConfig from './style.mjs'
import typescriptConfig from './typescript.mjs'
import reactConfig from './react.mjs'
import basicConfig from './lib/basic.mjs'
import stylisticConfig from './lib/style.mjs'
import typescriptConfig from './lib/typescript.mjs'
import reactConfig from './lib/react.mjs'

/** @type {import('eslint').Linter.Config[]} */
const base = [
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"exports": {
".": "./configs.mjs",
"./style": "./style.mjs"
"./style": "./lib/style.mjs"
},
"dependencies": {
"@eslint/compat": "^1.1.1",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"include": [
"*.mjs",
"*.{mjs,ts,js}",
"lib/**.{mjs,ts,js}",
"*.d.ts"
],
"compilerOptions": {
Expand Down

0 comments on commit 1efa335

Please sign in to comment.