evanpurkhiser / eslint-config

The eslint config I use in my personal projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evan Purkhiser's Personal JS code styles

publish NPM

These are my eslint configurations that I use across my various personal projects.

yarn install -D @evanpurkihser/eslint-config

Create a .eslintrc.js file with the contents:

module.exports = {
  extends: ['@evanpurkhiser'],
};

The default configuration is for React apps, but you can select from the following configurations

  • common - ES6 and Typescript rules
  • react - React specific rules

For example:

module.exports = {
  extends: ['@evanpurkhiser/eslint-config/common'],
};

About

The eslint config I use in my personal projects


Languages

Language:JavaScript 100.0%