Skip to content

Commit

Permalink
internal: Install eslint, and fixup eslintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
joeybaker committed May 18, 2015
1 parent a74f579 commit b589dd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 43 deletions.
43 changes: 2 additions & 41 deletions .eslintrc
@@ -1,34 +1,6 @@
{
"plugins": [
"react"
],
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": false,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"jsx": true
},
"env": {
"browser": true,
"node": true,
"es6": true
"node": true
},
"rules": {
"no-comma-dangle": 2,
Expand Down Expand Up @@ -237,17 +209,6 @@
]
}
],
"wrap-regex": 0,

"react/display-name": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 2,
"react/prop-types": 2,
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 1,
"react/wrap-multilines": 2
"wrap-regex": 0
}
}
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -47,8 +47,9 @@
"write-to-path": "^1.1.0"
},
"devDependencies": {
"tape": "~2.5.0",
"tap-spec": "^0.2.0"
"eslint": "^0.21.2",
"tap-spec": "^3.0.0",
"tape": "^4.0.0"
},
"peerDependencies": {
"resrcify": "^1.0.1"
Expand Down

0 comments on commit b589dd3

Please sign in to comment.