@jeffwcx/eslint-config
v0.4.0
Published
jeffwcx's ESLint config.
Downloads
137
Readme
@jeffwcx/eslint-config
👉 inspector: eslint-config.jeffwcx.me
Features
- Format with Prettier
- Designed to work with TypeScript/Node
- Sort
- Import Statement sort
- package.json sort
- tsconfig.json sort
- Framework support
- Astro
Usage
import { config } from '@jeffwcx/eslint-config';
export default config(
[
// custom config
],
{
prettier: true,
gitignore: true,
userIgnores: [], // add self defined ignore files
overrides: {
typescript: {}, // overrides typescript lint rules
},
files: {
test: [], // self defined `tests` glob
},
},
);