Skip to content

Commit e29e3f0

Browse files
committed
fix: export default on config files
1 parent 1468f75 commit e29e3f0

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"mode": "auto"
55
}
66
],
7-
"cSpell.words": ["clsx"]
7+
"cSpell.words": ["clsx", "tsup"]
88
}

apps/react/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { defineConfig } from "vite";
2-
31
import react from "@vitejs/plugin-react-swc";
2+
import { defineConfig } from "vite";
43

54
// https://vitejs.dev/config/
65
export default defineConfig({

packages/eslint-config/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @fellipeutaka/eslint-config
22

3+
## 1.12.2
4+
5+
### Patch Changes
6+
7+
- fix files to ignore export default
8+
39
## 1.12.1
410

511
### Patch Changes

packages/eslint-config/base.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,13 @@
4343
"coverage",
4444
".eslintrc.js",
4545
".eslintrc.cjs"
46+
],
47+
"overrides": [
48+
{
49+
"files": ["*.config.{js,mjs,ts}"],
50+
"rules": {
51+
"import/no-default-export": "off"
52+
}
53+
}
4654
]
4755
}

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fellipeutaka/eslint-config",
3-
"version": "1.12.1",
3+
"version": "1.12.2",
44
"description": "ESLint configuration",
55
"private": false,
66
"homepage": "https://github.com/fellipeutaka/eslint-config",

packages/eslint-config/react.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,5 @@
1111
"plugin:react-hooks/recommended",
1212
"plugin:jsx-a11y/recommended"
1313
],
14-
"plugins": ["react", "jsx-a11y"],
15-
"overrides": [
16-
{
17-
"files": ["vite.config.ts"],
18-
"rules": {
19-
"import/no-default-export": "off"
20-
}
21-
}
22-
]
14+
"plugins": ["react", "jsx-a11y"]
2315
}

0 commit comments

Comments
 (0)