eslint-config-unjs
ESLint config for unjs projects
Last updated a year ago by pi0 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install eslint-config-unjs 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.3.2                                ...           latest (5 months ago)
  • 0.3.1-0                                ...           rc (6 months ago)

19 Versions

  • 0.3.2                                ...           5 months ago
  • 0.3.1                                ...           6 months ago
  • 0.3.1-0                                ...           6 months ago
  • 0.3.0                                ...           6 months ago
  • 0.3.0-rc.8                                ...           6 months ago
  • 0.3.0-rc.7                                ...           7 months ago
  • 0.3.0-rc.6                                ...           7 months ago
  • 0.3.0-rc.5                                ...           7 months ago
  • 0.3.0-rc.4                                ...           7 months ago
  • 0.3.0-rc.3                                ...           7 months ago
  • 0.3.0-rc.2                                ...           7 months ago
  • 0.3.0-rc.1                                ...           7 months ago
  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Total 10
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (4)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE