0.4.2 • Published 1 year ago

eslint-config-unjs v0.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.2

1 year ago

0.3.1-0

2 years ago

0.3.0-rc.8

2 years ago

0.3.0

2 years ago

0.3.1

2 years ago

0.3.0-rc.7

2 years ago

0.3.0-rc.6

2 years ago

0.3.0-rc.3

2 years ago

0.3.0-rc.4

2 years ago

0.3.0-rc.5

2 years ago

0.3.0-rc.1

2 years ago

0.3.0-rc.2

2 years ago

0.2.1

2 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago