Content-Length: 283862 | pFad | http://redirect.github.com/unjs/eslint-config

9C GitHub - unjs/eslint-config: ✅ Shared ESLint config for unjs repositories
Skip to content

unjs/eslint-config

Repository files navigation

eslint-config-unjs

Sharable ESLint config preset for usage across unjs repositories.

✅ Includes:

Getting started

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
    },
  },
});

Tips:

  • You can pass any number of flat configs to unjs preset wrapper
  • Types for rules are auto generated using antfu/eslint-typegen.

License

MIT









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://redirect.github.com/unjs/eslint-config

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy