Fixed eslint settings
This commit is contained in:
@ -4,6 +4,14 @@
|
|||||||
"rules": {
|
"rules": {
|
||||||
"arrow-body-style":[0, "as-needed"], // fix `this` shortcut on ES6 classes
|
"arrow-body-style":[0, "as-needed"], // fix `this` shortcut on ES6 classes
|
||||||
"react/jsx-no-bind": 0, // Makes difficult to pass args to prop functions
|
"react/jsx-no-bind": 0, // Makes difficult to pass args to prop functions
|
||||||
|
"react/jsx-curly-spacing": [2, "always"], // Spaces inside curlies
|
||||||
"no-else-return": 0,
|
"no-else-return": 0,
|
||||||
|
},
|
||||||
|
"settings" : {
|
||||||
|
"import/resolver": {
|
||||||
|
"webpack": {
|
||||||
|
"config": "webpack.config.js"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -44,6 +44,9 @@
|
|||||||
"emoji-name-map": "1.1.2",
|
"emoji-name-map": "1.1.2",
|
||||||
"eslint": "2.13.1",
|
"eslint": "2.13.1",
|
||||||
"eslint-config-airbnb": "9.0.1",
|
"eslint-config-airbnb": "9.0.1",
|
||||||
|
"eslint-import-resolver-webpack": "^0.3.1",
|
||||||
|
"eslint-plugin-import": "^1.9.2",
|
||||||
|
"eslint-plugin-jsx-a11y": "^1.5.3",
|
||||||
"eslint-plugin-react": "5.2.2",
|
"eslint-plugin-react": "5.2.2",
|
||||||
"exports-loader": "0.6.3",
|
"exports-loader": "0.6.3",
|
||||||
"extract-text-webpack-plugin": "1.0.1",
|
"extract-text-webpack-plugin": "1.0.1",
|
||||||
|
Reference in New Issue
Block a user