@antzy/ieslint
v0.2.1
Published
generate my eslint config
Downloads
8
Readme
Background
Why am I writing this plugin? Because I want to be lazy. When creating a new vue project, the steps I need are:
- pnpm create vue@latest
- pnpm add eslint @antzy/eslint-config -D (because I have my own eslint configuration, I don't need to use the built-in eslint configuration of vue)
- Create .eslintrc.cjs
- Write module.exports = { extends: '@antzy' } in .eslintrc.cjs
Starting from step 2, I feel it's cumbersome, with commands longer than vue. I got tired of typing, so I started to simplify it from here and combined steps 2-4 into one package, which gave birth to ieslint.
Installation
pnpm i @antzy/ieslint -g
Usage
ies
or
npx @antzy/ieslint