diff --git a/.eslintrc.js b/.eslintrc.js index 91512e2..a175c7d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,5 @@ "use strict"; -const config = require("../../.eslintrc.base.js")(__dirname); -config.rules["import/no-extraneous-dependencies"] = "error"; -config.rules["lodash/import-scope"] = ["error", "method"]; -module.exports = config; +module.exports = require("../../.eslintrc.base.js")(__dirname, { + "import/no-extraneous-dependencies": "error", + "lodash/import-scope": ["error", "method"], +});