Skip to content

Commit

Permalink
fix($config): updated boring configs
Browse files Browse the repository at this point in the history
  • Loading branch information
faceyspacey committed May 7, 2017
1 parent 56166a8 commit eb62042
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ exclude_paths:
- "flow-typed/"
- "node_modules/"
- ".vscode/"
- "*"
- ".*"
- ".eslintrc.js"
- "**/*.snap"
26 changes: 26 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ module.exports = {
'spaced-comment': [2, 'always', { markers: ['?'] }],
'arrow-parens': [2, 'as-needed', { requireForBlockBody: false }],
'brace-style': [2, 'stroustrup'],
'no-unused-expressions': [
2,
{
allowShortCircuit: true,
allowTernary: true,
allowTaggedTemplates: true
}
],
'import/no-extraneous-dependencies': [
'error',
{
Expand Down Expand Up @@ -93,6 +101,24 @@ module.exports = {
ignoreStrings: true,
ignoreTemplateLiterals: true
}
],
'react/sort-comp': [
2,
{
order: [
'propTypes',
'props',
'state',
'defaultProps',
'contextTypes',
'childContextTypes',
'getChildContext',
'static-methods',
'lifecycle',
'everything-else',
'render'
]
}
]
}
}
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ src
.travis.yml
wallaby.js
webpack.config.js
.eslintignore
.flowconfig
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "redux-first-router",
"version": "0.0.0-development",
"description": "think of your app in states not routes (and, yes, while keeping the address bar in sync)",
"main": "src/index.js",
"main": "dist/index.js",
"scripts": {
"build": "babel src -d dist",
"build:umd": "BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/redux-first-router.js",
Expand Down

0 comments on commit eb62042

Please sign in to comment.