us eslint-plugin-babel for better listing
This commit is contained in:
parent
a6547bcbce
commit
51b51331ba
2 changed files with 10 additions and 5 deletions
|
@ -3,13 +3,19 @@ parser: babel-eslint
|
|||
|
||||
extends: standard
|
||||
|
||||
plugins: [
|
||||
"babel"
|
||||
]
|
||||
|
||||
rules:
|
||||
arrow-parens: 0
|
||||
babel/arrow-parens: [2, "as-needed"]
|
||||
|
||||
eqeqeq: 0
|
||||
no-var: 2
|
||||
semi: [2, always]
|
||||
space-before-function-paren: [2, never]
|
||||
yoda: 0
|
||||
arrow-parens: [2, "as-needed"]
|
||||
arrow-spacing: 2
|
||||
dot-location: [2, "property"]
|
||||
prefer-arrow-callback: 2
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"accepts": "^1.2.2",
|
||||
"babel-core": "^6.1.2",
|
||||
"babel-preset-stage-3": "^6.1.2",
|
||||
"content-disposition": "~0.5.0",
|
||||
"content-type": "^1.0.0",
|
||||
"cookies": "~0.5.0",
|
||||
|
@ -44,11 +42,12 @@
|
|||
"vary": "^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.0.20",
|
||||
"babel-core": "^6.1.2",
|
||||
"babel-eslint": "^4.1.3",
|
||||
"babel-preset-stage-3": "^6.0.15",
|
||||
"babel-preset-stage-3": "^6.1.2",
|
||||
"eslint": "^1.6.0",
|
||||
"eslint-config-standard": "^4.4.0",
|
||||
"eslint-plugin-babel": "^2.1.1",
|
||||
"eslint-plugin-standard": "^1.3.1",
|
||||
"istanbul": "^0.4.0",
|
||||
"mocha": "^2.0.1",
|
||||
|
|
Loading…
Reference in a new issue