eslint-config-unjsSharable ESLint config preset for usage across unjs repositories.
β Includes:
[!NOTE]
This preset uses the new ESLint flat config.
Install dependencies:
npx nypm install -D eslint typescript eslint-config-unjs
Create eslint.config.mjs in your project root:
import unjs from "eslint-config-unjs";
export default unjs({
ignores: [
// ignore paths
],
rules: {
// rule overrides
},
markdown: {
rules: {
// markdown rule overrides
},
},
});
undefinedTips:undefined
rules are auto generated using antfu/eslint-typegen.MIT
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.