♻️ Update eslint config (#1424)

This commit is contained in:
Luke Vella 2024-11-02 11:50:09 +00:00 committed by GitHub
parent 01396b6129
commit d55131c2ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
162 changed files with 337 additions and 266 deletions

View file

@ -0,0 +1,11 @@
const preset = require("./preset");
/** @return {import("eslint").Linter.Config} */
module.exports = function (workspaceDirPath) {
const baseConfig = preset(workspaceDirPath);
return {
...baseConfig,
extends: [...baseConfig.extends, "next"],
};
};