Skip to content

mi11er-net/eslint-config

Repository files navigation

@mi11er/eslint-config

Codacy Badge Build Status

Combines various plugins and rulesets for use in mi11er.net projects.

Installation

Note: don't forget the require peerDepencies.

npm install --save-dev eslint @mi11er/eslint-config eslint-plugin-optimize-regex eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-security

or

yarn add -D eslint @mi11er/eslint-config eslint-plugin-optimize-regex eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-security

Setup

Add the config to your .eslintrc file:

{
  "extends": "@mi11er"
}

or for react/preact based projects

{
  "extends": "@mi11er/eslint-config/react"
}