0.1.6 • Published 2 years ago
@lotusdevshack/eslint-config v0.1.6
eslint-config
Personal ESLint Configs
Profiles:
- node
// .eslintrc.cjs
require("@lotusdevshack/eslint-config/patch");
module.exports = {
extends: ["@lotusdevshack/eslint-config/profile/node"],
parserOptions: { tsconfigRootDir: __dirname },
};
You can remove ESM restrictions by using the following config:
// .eslintrc.cjs
require("@lotusdevshack/eslint-config/patch");
module.exports = {
extends: ["@lotusdevshack/eslint-config/profile/node"],
parserOptions: { tsconfigRootDir: __dirname },
rules: {
"unicorn/prefer-module": "off",
},
};