Evan Purkhiser's Personal JS code styles
These are my eslint configurations that I use across my various personal
projects.
yarn install -D @evanpurkhiser/eslint-config
Create a eslint.config.mjs
file with the contents:
import {all} from '@evanpurkhiser/eslint-config';
export default [...all];
The default configuration is for React apps, but you can select from the
following configurations
common
- ES6 and Typescript rulesreact
- React specific rules
For example:
import {common} from '@evanpurkhiser/eslint-config';
export default [...common];