Add some lint settings
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"extends": "next/core-web-vitals"
|
||||
"extends": ["next", "next/core-web-vitals", "prettier"]
|
||||
}
|
||||
|
||||
@@ -4,10 +4,13 @@ module.exports = {
|
||||
images: {
|
||||
domains: ["avatars.githubusercontent.com"],
|
||||
},
|
||||
webpack(config) {
|
||||
webpack(config, { isServer }) {
|
||||
config.resolve.alias["vscode"] = require.resolve(
|
||||
"@codingame/monaco-languageclient/lib/vscode-compatibility"
|
||||
);
|
||||
if (!isServer) {
|
||||
config.resolve.fallback.fs = false;
|
||||
}
|
||||
return config;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user