aniftyco / eslint-config-nifty

ESLint shareable config for NiftyCo projects

Home Page:http://git.io/eslint-config-nifty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-nifty

ESLint shareable config for NiftyCo projects

Install

npm install --save-dev eslint-config-prettier

Usage

Add some ESLint config to your package.json:

{
  "name": "my-nifty-app",
  "version": "1.2.4",
  "eslintConfig": {
    "extends": "nifty"
  }
}

or to .eslintrc:

{
  "extends": "nifty"
}

This package also exposes nifty/react if you're working in React codebases.

Install additional dependencies

npm install --save-dev eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-react-hooks

Then extends nifty/react like so:

{
  "extends": "nifty/react"
}

About

ESLint shareable config for NiftyCo projects

http://git.io/eslint-config-nifty

License:MIT License


Languages

Language:TypeScript 100.0%