ESLint rulesets for Gizmo projects
| rules | ||
| .gitignore | ||
| eslint.config.mjs | ||
| index.d.ts | ||
| index.js | ||
| LICENSE | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| renovate.json | ||
Installation
npm i -D @gizmo-dev/eslint-plugin
And in your ESLint config file, import the module:
import { configs } from "@gizmo-dev/eslint-plugin";
Importing specific configs
JavaScript
export default [
...configs.js,
// The rest of your config
];
TypeScript
export default [
...configs.ts,
// The rest of your config
];
Vue 3
export default [
...configs.vue,
// The rest of your config
];