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

atomixinteractions/eslint-config-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}