Skip to content
This repository has been archived by the owner on Jan 19, 2018. It is now read-only.

Commit

Permalink
Rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Aug 7, 2017
1 parent 3454d7d commit 705c090
Show file tree
Hide file tree
Showing 7 changed files with 1,022 additions and 23 deletions.
22 changes: 6 additions & 16 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,33 +1,23 @@
{
"presets": [
"es2017", "es2016", "es2015",
"stage-0", "react"
"es2017",
"es2016",
["es2015", { "modules": false }],
"stage-0",
"react"
],
"plugins": [
"transform-decorators-legacy",
"transform-class-properties",
"transform-object-rest-spread",
"transform-es2015-modules-commonjs",
"transform-runtime",
"lodash"
"transform-es2015-modules-commonjs"
],
"retainLines": true,
"env": {
"production": {
"plugins": [
"transform-react-remove-prop-types"
]
},
"development": {
"plugins": [
[ "react-intl", { "messagesDir": "./.build/i18n/" } ],
"react-hot-loader/babel"
]
},
"test": {
"plugins": [
[ "babel-plugin-webpack-alias", { "config": "webpack/test.js" } ]
]
}
}
}
33 changes: 33 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"extends": ["semistandard", "standard-react"],
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true,
"node": true
},
"globals": {
"expect": true,
"FileReader": true
},
"rules": {
"curly": ["error", "all"],
"jsx-quotes": ["error", "prefer-single"],
"newline-after-var": ["error", "always"],
"no-alert": "error",
"no-debugger": "error",
"no-duplicate-imports": ["error", {
"includeExports": true
}],
"object-curly-spacing": ["error", "always"],
"object-property-newline": 0,
"one-var-declaration-per-line": ["error", "always"],
"padded-blocks": ["error", {
"blocks": "never",
"classes": "never",
"switches": "never"
}],
"react/jsx-closing-bracket-location": "error",
"react/jsx-curly-spacing": ["error", "always"]
}
}
2 changes: 1 addition & 1 deletion dist.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 705c090

Please sign in to comment.