Add some lint settings

This commit is contained in:
Valtteri Karesto
2021-12-13 17:20:35 +02:00
parent 4fc7098e78
commit b8596ec7ce
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
{
"extends": "next/core-web-vitals"
"extends": ["next", "next/core-web-vitals", "prettier"]
}

View File

@@ -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;
},
};