diff --git a/.eslintrc.cjs b/.eslintrc.cjs index b5b8a18..119f021 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,8 +1,9 @@ require("@rushstack/eslint-patch/modern-module-resolution") +const { createSmartConfig } = require("@lshay/eslint-config") + /** @type {import("eslint").Linter.Config} */ -module.exports = { - extends: ["@lshay/eslint-config"], +module.exports = createSmartConfig({ overrides: [ { files: ["*.test.*"], @@ -32,4 +33,4 @@ module.exports = { }, }, }, -} +})