use builtin (babel/eslint-config-babel#8)
* use built-in * Update package.json
This commit is contained in:
parent
9279489413
commit
4819beb149
@ -43,7 +43,7 @@ module.exports = {
|
|||||||
"max-len": ["error", 110, 2],
|
"max-len": ["error", 110, 2],
|
||||||
|
|
||||||
// Enforce parens around arrow function arguments
|
// Enforce parens around arrow function arguments
|
||||||
"babel/arrow-parens": ["error", "always"],
|
"arrow-parens": ["error", "always"],
|
||||||
// Require a space on each side of arrow operator
|
// Require a space on each side of arrow operator
|
||||||
"arrow-spacing": ["error", { before: true, after: true }],
|
"arrow-spacing": ["error", { before: true, after: true }],
|
||||||
// Require a space on each side of all infix operators
|
// Require a space on each side of all infix operators
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"babel-eslint": "^7.0.0",
|
"babel-eslint": "^7.0.0",
|
||||||
"eslint-plugin-babel": "^3.0.0",
|
"eslint-plugin-babel": "^4.0.0",
|
||||||
"eslint-plugin-flowtype": "^2.4.0"
|
"eslint-plugin-flowtype": "^2.4.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user