-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新)ESLint: Failed to load config #87
Comments
ブランチは#85 と共通
現状の自分 {
"workbench.sideBar.location": "right",
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.formatOnSave": true,
"editor.bracketPairColorization.enabled": false,
"go.lintOnSave": "file",
"[go]": {
"editor.defaultFormatter": "golang.go"
},
"go.gopath": "",
"go.languageServerFlags": [
],
"go.toolsGopath": "",
"go.alternateTools": {},
"eslint.codeActionsOnSave.rules": null,
"workbench.statusBar.visible": false,
"workbench.colorCustomizations": {},
"json.schemas": [
],
"editor.minimap.enabled": false,
"window.zoomLevel": -1.3,
"files.associations": {
"*.css": "tailwindcss"
},
"workbench.settings.applyToAllProfiles": [
]
} ↑の内、↓が気になる。 "editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "vscode.typescript-language-features", "eslint.codeActionsOnSave.rules": null, |
これ以上進める前に、この問題に当たった当初に
をしたが、その後特に何もしてなかった。 https://zenn.dev/naoki0722/articles/dcd489b97c0393#prettier-の整形ルール設定 に従って設定していく。
{
- "extends": ["next", "next/core-web-vitals", "prettier", "next/babel"]
+ "extends": ["next/core-web-vitals", "prettier"]
}
"scripts": {
- "lint": "next lint" ,
+ "lint": "next lint --dir src",
+ "lint:fix": "yarn lint --fix",
}, |
また、Next.js, ESLint, TailWind CSSで作られたポートフォリオを発見したので、git cloneして動かしてみる。
動かない… |
※この時点ではたしか、buildはできていて、startもできる。
The text was updated successfully, but these errors were encountered: