Skip to content

Commit 400afc1

Browse files
committed
fix: disable default export rule for prettier and eslint configs
1 parent ac89f8c commit 400afc1

5 files changed

Lines changed: 23 additions & 14 deletions

File tree

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
},
99
"extends": ["@tutods/biome-config"],
1010
"files": {
11-
"ignore": ["packages/**/package.json", "config/**/package.json", "**/eslint.config.mjs"]
11+
"ignore": ["packages/**/package.json", "config/**/package.json"]
1212
}
1313
}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,5 @@
4949
"pnpm": {
5050
"ignoredBuiltDependencies": ["@biomejs/biome", "@swc/core", "esbuild", "nx"],
5151
"onlyBuiltDependencies": ["lefthook"]
52-
},
53-
"dependencies": {}
52+
}
5453
}

packages/components/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
3-
"extends": ["@tutods/typescript-config/react.json"],
3+
"extends": ["../configs/typescript-config/react.json"],
44
"compilerOptions": {
55
"lib": ["ESNext", "DOM", "DOM.Iterable"],
66
"moduleResolution": "node",

packages/configs/biome-config/base.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"files": {
1010
"ignoreUnknown": true,
1111
"ignore": [
12+
".nx",
1213
".vscode",
1314
".idea",
1415
".env",
@@ -179,32 +180,41 @@
179180
},
180181
{
181182
"include": [
182-
"rsbuild.config.js",
183183
"rsbuild.config.ts",
184-
"rslib.config.js",
184+
"rsbuild.config.js",
185185
"rslib.config.ts",
186-
"webpack.config.js",
187186
"webpack.config.ts",
188-
"vite.config.js",
187+
"webpack.config.js",
189188
"vite.config.ts",
190-
"rollup.config.js",
189+
"vite.config.js",
191190
"rollup.config.ts",
191+
"rollup.config.js",
192+
"sanity.*.ts",
193+
"next.config.ts",
192194
"next.config.js",
193195
"next.config.mjs",
194-
"gatsby-config.js",
195-
"gatsby-node.js",
196-
"jest.config.js",
196+
"next.config.cjs",
197197
"jest.config.ts",
198+
"jest.config.js",
199+
"vites.config.ts",
200+
"vites.config.js",
198201
"babel.config.js",
199202
"babel.config.cjs",
203+
"babel.config.mjs",
200204
"postcss.config.js",
205+
"postcss.config.mjs",
201206
"tailwind.config.ts",
202207
"tailwind.config.js",
203208
"tsup.config.ts",
204209
"commitlint.config.js",
205210
"commitlint.config.cjs",
206-
"sanity.config.ts",
207-
"sanity.cli.ts"
211+
"commitlint.config.mjs",
212+
"eslint.config.js",
213+
"eslint.config.cjs",
214+
"eslint.config.mjs",
215+
"prettier.config.js",
216+
"prettier.config.cjs",
217+
"prettier.config.mjs"
208218
],
209219
"linter": {
210220
"rules": {

0 commit comments

Comments
 (0)