fix eslint
This commit is contained in:
parent
87f0de4c39
commit
93dcf2fcce
3 changed files with 150 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"parser": "babel-eslint",
|
||||
"extends": ["standard", "standard-jsx"],
|
||||
"env": {
|
||||
"es6": true,
|
||||
|
@ -17,6 +18,7 @@
|
|||
"standard/object-curly-even-spacing": 0,
|
||||
"handle-callback-err": 0,
|
||||
"one-var": 0,
|
||||
"object-curly-spacing": 0,
|
||||
"comma-dangle": ["error", "always-multiline"],
|
||||
"semi": ["error", "always", { "omitLastInOneLineBlock": true }],
|
||||
"key-spacing": [
|
||||
|
|
147
package-lock.json
generated
147
package-lock.json
generated
|
@ -1442,6 +1442,153 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"babel-eslint": {
|
||||
"version": "9.0.0-beta.3",
|
||||
"resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-9.0.0-beta.3.tgz",
|
||||
"integrity": "sha512-niiSqeVysX9Hr3KjCzqz8XEQmVKeqQV7Xf2uaOyCMl6Z88IyE3k3ofXBMcEO0B8ATFHgc73Dfyx9hUaddDplag==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "7.0.0-beta.52",
|
||||
"@babel/parser": "7.0.0-beta.52",
|
||||
"@babel/traverse": "7.0.0-beta.52",
|
||||
"@babel/types": "7.0.0-beta.52",
|
||||
"eslint-scope": "3.7.1",
|
||||
"eslint-visitor-keys": "^1.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/code-frame": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-GSSDv6DR5GfBAVccIQKcy3SvKAE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/highlight": "7.0.0-beta.52"
|
||||
}
|
||||
},
|
||||
"@babel/generator": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-JpaPEvrYGM2XTISbKGtDfh6MzZE=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "7.0.0-beta.52",
|
||||
"jsesc": "^2.5.1",
|
||||
"lodash": "^4.17.5",
|
||||
"source-map": "^0.5.0",
|
||||
"trim-right": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"@babel/helper-function-name": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-qGelj/VxsldysteZsyhmBYVzxFA=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-get-function-arity": "7.0.0-beta.52",
|
||||
"@babel/template": "7.0.0-beta.52",
|
||||
"@babel/types": "7.0.0-beta.52"
|
||||
}
|
||||
},
|
||||
"@babel/helper-get-function-arity": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-HAzaWOC3X0XpLq+9j+GJpO7pK3Q=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "7.0.0-beta.52"
|
||||
}
|
||||
},
|
||||
"@babel/helper-split-export-declaration": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-SqxPMOpjhK82duBLUkZydjLkYN8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/types": "7.0.0-beta.52"
|
||||
}
|
||||
},
|
||||
"@babel/highlight": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-7ySTFDLwYVXnvDnNuKaze0oos9A=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"chalk": "^2.0.0",
|
||||
"esutils": "^2.0.2",
|
||||
"js-tokens": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"@babel/parser": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-TpNbYs2b+HK9N7zx9j2C/nsCN6I=",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/template": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-ROGPrDglH1f5JRHWdI8JWrAvmW4=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "7.0.0-beta.52",
|
||||
"@babel/parser": "7.0.0-beta.52",
|
||||
"@babel/types": "7.0.0-beta.52",
|
||||
"lodash": "^4.17.5"
|
||||
}
|
||||
},
|
||||
"@babel/traverse": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-m4uplPcmTZhHhYrS/uzCc4xeLvM=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "7.0.0-beta.52",
|
||||
"@babel/generator": "7.0.0-beta.52",
|
||||
"@babel/helper-function-name": "7.0.0-beta.52",
|
||||
"@babel/helper-split-export-declaration": "7.0.0-beta.52",
|
||||
"@babel/parser": "7.0.0-beta.52",
|
||||
"@babel/types": "7.0.0-beta.52",
|
||||
"debug": "^3.1.0",
|
||||
"globals": "^11.1.0",
|
||||
"invariant": "^2.2.0",
|
||||
"lodash": "^4.17.5"
|
||||
}
|
||||
},
|
||||
"@babel/types": {
|
||||
"version": "7.0.0-beta.52",
|
||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.52.tgz",
|
||||
"integrity": "sha1-o+ViCxU0slOlCrzyIitSDiOxbaI=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esutils": "^2.0.2",
|
||||
"lodash": "^4.17.5",
|
||||
"to-fast-properties": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"eslint-scope": {
|
||||
"version": "3.7.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz",
|
||||
"integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"esrecurse": "^4.1.0",
|
||||
"estraverse": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"js-tokens": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
|
||||
"integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=",
|
||||
"dev": true
|
||||
},
|
||||
"source-map": {
|
||||
"version": "0.5.7",
|
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
|
||||
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"babel-loader": {
|
||||
"version": "7.1.5",
|
||||
"resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-7.1.5.tgz",
|
||||
|
|
|
@ -96,6 +96,7 @@
|
|||
"@babel/register": "^7.0.0",
|
||||
"babel-loader": "^7.1.2",
|
||||
"babel-plugin-module-resolver": "^3.1.1",
|
||||
"babel-eslint": "9.0.0-beta.3",
|
||||
"builder": "^4.0.0",
|
||||
"chai": "^4.2.0",
|
||||
"chai-http": "^4.2.0",
|
||||
|
|
Loading…
Reference in a new issue