Skip to content

Commit

Permalink
Updated dependencies and ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jherax committed Mar 10, 2017
1 parent 087a8cb commit 0026bc0
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 27 deletions.
30 changes: 22 additions & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"extends": [
"airbnb-base",
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/errors"
"airbnb-base"
],
"plugins": [
"import"
Expand All @@ -24,18 +25,31 @@
}
},
"rules": {
"import/no-extraneous-dependencies": [
"error", { "devDependencies": true }
],
"valid-jsdoc": [1, {
"requireReturnDescription": false
"requireParamDescription": false,
"requireReturnDescription": false,
"requireReturn": false,
"requireReturnType": true,
"prefer": { "returns": "return" }
}],
"require-jsdoc": [2, {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"one-var": [2, {
"uninitialized": "always"
}],
"max-len": 0,
"object-curly-spacing": [2, "never"],
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"no-param-reassign": 0
"object-curly-spacing": [2, "never"],
"import/no-mutable-exports": 1,
"import/prefer-default-export": 1,
"import/no-extraneous-dependencies": [
"error", { "devDependencies": true }
]
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
"devDependencies": {
"babel-core": "^6.23.1",
"babel-eslint": "^7.1.1",
"babel-loader": "^6.3.2",
"babel-loader": "^6.4.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.22.0",
"babel-preset-stage-2": "^6.22.0",
"clean-webpack-plugin": "^0.1.15",
"eslint": "^3.16.1",
"eslint-config-airbnb-base": "^11.1.0",
"eslint": "^3.17.1",
"eslint-config-airbnb-base": "^11.1.1",
"eslint-loader": "^1.6.3",
"eslint-plugin-import": "^2.2.0",
"webpack": "^1.14.0",
Expand Down
32 changes: 16 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ babel-helpers@^6.23.0:
babel-runtime "^6.22.0"
babel-template "^6.23.0"

babel-loader@^6.3.2:
version "6.3.2"
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-6.3.2.tgz#18de4566385578c1b4f8ffe6cbc668f5e2a5ef03"
babel-loader@^6.4.0:
version "6.4.0"
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-6.4.0.tgz#e98c239662a22533b9e7a49594ef216d7635ea28"
dependencies:
find-cache-dir "^0.1.1"
loader-utils "^0.2.16"
Expand Down Expand Up @@ -1177,9 +1177,9 @@ escope@^3.6.0:
esrecurse "^4.1.0"
estraverse "^4.1.1"

eslint-config-airbnb-base@^11.1.0:
version "11.1.0"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-11.1.0.tgz#dc9b3ec70b8c74dcbe6d6257c9da3992c39ca2ca"
eslint-config-airbnb-base@^11.1.1:
version "11.1.1"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-11.1.1.tgz#61e9e89e4eb89f474f6913ac817be9fbb59063e0"

eslint-import-resolver-node@^0.2.0:
version "0.2.3"
Expand Down Expand Up @@ -1220,9 +1220,9 @@ eslint-plugin-import@^2.2.0:
minimatch "^3.0.3"
pkg-up "^1.0.0"

eslint@^3.16.1:
version "3.16.1"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.16.1.tgz#9bc31fc7341692cf772e80607508f67d711c5609"
eslint@^3.17.1:
version "3.17.1"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.17.1.tgz#b80ae12d9c406d858406fccda627afce33ea10ea"
dependencies:
babel-code-frame "^6.16.0"
chalk "^1.1.3"
Expand Down Expand Up @@ -2439,22 +2439,22 @@ read-pkg@^1.0.0:
normalize-package-data "^2.3.2"
path-type "^1.0.0"

"readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@~2.0.0:
version "2.0.6"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e"
"readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.1.0:
version "2.2.3"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.3.tgz#9cf49463985df016c8ae8813097a9293a9b33729"
dependencies:
buffer-shims "^1.0.0"
core-util-is "~1.0.0"
inherits "~2.0.1"
isarray "~1.0.0"
process-nextick-args "~1.0.6"
string_decoder "~0.10.x"
util-deprecate "~1.0.1"

readable-stream@^2.1.0:
version "2.2.3"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.3.tgz#9cf49463985df016c8ae8813097a9293a9b33729"
readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@~2.0.0:
version "2.0.6"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e"
dependencies:
buffer-shims "^1.0.0"
core-util-is "~1.0.0"
inherits "~2.0.1"
isarray "~1.0.0"
Expand Down

0 comments on commit 0026bc0

Please sign in to comment.