Skip to content

Commit

Permalink
Merge pull request #497 from frenzzy/eslint-jscs-rc-to-package-json
Browse files Browse the repository at this point in the history
Move .eslintrc and .jscsrc in package.json to simplify directory layout
  • Loading branch information
koistya committed Apr 2, 2016
2 parents 0a98159 + bb178d3 commit b6bde04
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
16 changes: 0 additions & 16 deletions .eslintrc

This file was deleted.

6 changes: 0 additions & 6 deletions .jscsrc

This file was deleted.

21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,27 @@
"stage-0"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": "airbnb",
"globals": {
"__DEV__": true
},
"env": {
"browser": true,
"jest": true
},
"rules": {
"no-confusing-arrow": 0,
"react/jsx-quotes": 0,
"jsx-quotes": [2, "prefer-double"]
}
},
"jscsConfig": {
"preset": "airbnb",
"excludeFiles": ["build/**", "node_modules/**"],
"disallowSpacesInsideTemplateStringPlaceholders": null
},
"jest": {
"rootDir": "./src",
"testPathDirs": [
Expand Down

0 comments on commit b6bde04

Please sign in to comment.