Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Commit

Permalink
Add standard config.
Browse files Browse the repository at this point in the history
  • Loading branch information
garetht committed Aug 17, 2015
1 parent 52f86eb commit 911def7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
14 changes: 2 additions & 12 deletions .eslintrc
Expand Up @@ -2,17 +2,7 @@
"parser": "babel-eslint",

"rules": {
"curly": [2, "all"],
"indent": [2, 2, {"VariableDeclarator": 2}],
"linebreak-style": [2, "unix"],
"one-var": 0,
"space-before-function-paren": [2, "never"],

"react/jsx-boolean-value": 1,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-no-undef": 1,
"react/no-danger": 1,
"react/react-in-jsx-scope": 1
"react/no-danger": 1
},

"globals": {
Expand All @@ -26,7 +16,7 @@
"browser": true
},

"extends": ["semistandard"],
"extends": ["seatgeek-standard"],

"ecmaFeatures": {
"jsx": true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -25,7 +25,6 @@
"lint": "./node_modules/.bin/eslint ./src --ext .jsx --ext .js",
"typecheck": "./node_modules/.bin/flow check",
"verify": "npm run lint && npm run typecheck && npm test",

"watch-test": "watch \"npm test\" ./__tests__ ./src",
"watch-build": "watch \"gulp build -E\" ./examples ./src",
"build": "gulp build && gulp build -E"
Expand Down Expand Up @@ -73,9 +72,10 @@
"yargs": "^1.3.2"
},
"dependencies": {
"react": ">= 0.12.2",
"eslint-config-seatgeek-standard": "^0.1.0",
"lodash.isarray": "^3.0.0",
"lodash.isfinite": "^3.0.0"
"lodash.isfinite": "^3.0.0",
"react": ">= 0.12.2"
},
"peerDependencies": {
"react": ">= 0.12.2"
Expand Down

0 comments on commit 911def7

Please sign in to comment.