chore(frontend): 恢复上游 eslint 配置并在脚本忽略 imports
This commit is contained in:
parent
a34a023675
commit
929260bdb8
|
|
@ -9,7 +9,6 @@ export default tseslint.config(
|
|||
{
|
||||
ignores: [
|
||||
".next",
|
||||
"imports/**",
|
||||
"src/components/ui/**",
|
||||
"src/components/ai-elements/**",
|
||||
"*.js",
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@
|
|||
"scripts": {
|
||||
"demo:save": "node scripts/save-demo.js",
|
||||
"build": "next build",
|
||||
"check": "eslint . --ext .ts,.tsx && tsc --noEmit",
|
||||
"check": "eslint . --ext .ts,.tsx --ignore-pattern imports/** && tsc --noEmit",
|
||||
"dev": "next dev --turbo",
|
||||
"format": "prettier --check .",
|
||||
"format:write": "prettier --write .",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
||||
"lint": "eslint . --ext .ts,.tsx --ignore-pattern imports/**",
|
||||
"lint:fix": "eslint . --ext .ts,.tsx --ignore-pattern imports/** --fix",
|
||||
"preview": "next build && next start",
|
||||
"start": "next start",
|
||||
"typecheck": "tsc --noEmit"
|
||||
|
|
|
|||
Loading…
Reference in New Issue