Personal ESLint Config for Node.js and TypeScript.
// .eslintrc.cjs
module.exports = {
extends: ["@ayuhito/eslint-config"],
};
You can remove ESM restrictions by using the following config:
// .eslintrc.cjs
module.exports = {
extends: ["@ayuhito/eslint-config"],
rules: {
"unicorn/prefer-module": "off",
},
};