@poupe/eslint-config v0.6.4
@poupe/eslint-config
Sharable ESLint config preset for usage across Poupe UI projects.
ā Includes:
- eslint recommended rules
- stylistic recommended formatting rules
- typescript-eslint integration
- unicorn rules
- vue recommended rules with TypeScript support
- tsdoc rules for TypeScript documentation
- Poupe UI recommended rules
Getting started
!NOTE This preset uses the new ESLint flat config.
Install dependencies:
pnpm install -D eslint typescript @poupe/eslint-configCreate eslint.config.mjs in your project root:
// @ts-check
import poupeConfig from '@poupe/eslint-config';
export default poupeConfig;For Nuxt.js projects (with @nuxt/eslint module):
// @ts-check
import { forNuxt } from '@poupe/eslint-config/nuxt';
import withNuxt from './.nuxt/eslint.config.mjs';
export default withNuxt(...forNuxt({
rules: {
// custom rule overrides
},
}));Custom configuration:
// @ts-check
import { defineConfig } from '@poupe/eslint-config';
export default defineConfig({
rules: {
// rule overrides
},
});License
MIT
9 months ago
11 months ago
11 months ago
9 months ago
11 months ago
10 months ago
9 months ago
10 months ago
10 months ago
11 months ago
10 months ago
11 months ago
11 months ago
7 months ago
11 months ago
7 months ago
7 months ago
12 months ago
11 months ago
6 months ago
11 months ago
12 months ago
7 months ago
7 months ago
12 months ago
7 months ago
8 months ago
12 months ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago