Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

Latest commit

 

History

History
41 lines (29 loc) · 827 Bytes

readme.md

File metadata and controls

41 lines (29 loc) · 827 Bytes

eslint-config-atomix-react

npm

This package provides Atomix's base .eslintrc config for ECMAScript 2017.

Usage

Our config bases on Airbnb's eslint config.

Installation:

npm install --save-dev eslint babel-eslint eslint-config-atomix-react

Create .eslintrc:

{
  "extends": "atomix-react",
  "parser": "babel-eslint",
  "parserOptions": {
    "ecmaVersion": 2017
  }
}

Add test script to your package.json "test": "eslint src lib bin"

If you don't want es2017 features:

npm install --save-dev eslint eslint-config-atomix-react
{
  "extends": "atomix-react"
}