eslint-config-mizdra
ESLint config for @mizdra
Install
Install along with all compatible peerDeps:
npx install-peerdeps @mizdra/eslint-config-mizdra --dev --yarn
If you don't need all the peerDeps, you can install them manually:
yarn add -D @mizdra/eslint-config-mizdra eslint eslint-plugin-import
yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript
yarn add -D eslint-plugin-react eslint-plugin-react-hooks
yarn add -D eslint-config-prettier eslint-plugin-prettier prettier
Usage
module.exports = {
root: true,
extends: ['@mizdra/mizdra', '@mizdra/mizdra/+typescript', '@mizdra/mizdra/+react', '@mizdra/mizdra/+prettier'],
env: {
node: true,
jest: true,
},
rules: {
},
};
Release
$ git switch develop
$ yarn version --no-git-tag-version
$ git commit -am "vX.X.X"
$ gh pr create --web --base master --title "Release vX.X.X"
#