Skip to content

Commit

Permalink
Convert project to ES6 with babel and webpack.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtraynham committed May 25, 2017
1 parent 356fcce commit 4b57628
Show file tree
Hide file tree
Showing 47 changed files with 8,006 additions and 2,010 deletions.
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": ["es2015"],
"plugins": [
"add-module-exports",
"transform-exponentiation-operator"
]
}
47 changes: 47 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"env": {
"browser": true,
"mocha": true,
"node": true
},
"extends": "airbnb",
"rules": {
"comma-dangle": [2, "never"],
"func-names": 0,
"global-require": 0,
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
"indent": [2, 4, {"SwitchCase": 1}],
"max-len": [2, 140],
"new-cap": 1,
"no-bitwise": 0,
"no-console": 1,
"no-mixed-operators": 1,
"no-param-reassign": 1,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"no-use-before-define": 1,
"one-var": 0,
"object-curly-spacing": [2, "never"],
"prefer-rest-params": 0,
"space-before-function-paren": [2, "always"],
"require-jsdoc": [1, {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"valid-jsdoc": [1, {
"prefer": {
"arg": "param",
"argument": "param",
"class": "constructor",
"return": "return",
"virtual": "abstract"
},
"requireParamDescription": false,
"requireReturnDescription": false,
"requireReturnType": true
}]
}
}
30 changes: 0 additions & 30 deletions .jscsrc

This file was deleted.

78 changes: 0 additions & 78 deletions .jshintrc

This file was deleted.

Loading

0 comments on commit 4b57628

Please sign in to comment.