Skip to content

agrauch/eslint-plugin-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-react

ESLint plugin to enforce React best practices

###Caveat Emptor This plugin relys on ESLint 0.14.1

###Installation Add the this line to package.json in the project you wish to lint: "eslint-plugin-react": "git://github.com/agrauch/eslint-plugin-react#master"

###Configuring See configuring ESLint for more information on settings for ES6 and JSX.

Your .eslintrc file should look something like this

{
  "env": {
    "node": true
  },
  "plugins": ["react"],
  "ecmaFeatures": {
    "jsx": true,
    "objectLiteralShorthandMethods": true
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published