37 lines
880 B
Plaintext
37 lines
880 B
Plaintext
{
|
|
"extends": "airbnb",
|
|
"parser": "babel-eslint",
|
|
"rules": {
|
|
"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-curly-spacing": [2, "always", {"spacing": {
|
|
"objectLiterals": "never"
|
|
}}], // Spaces inside curlies, except prop={{}}
|
|
"react/prefer-stateless-function": 0, // Don't prefer stateless components
|
|
"no-else-return": 0,
|
|
"new-cap": 0,
|
|
"no-param-reassign": 0,
|
|
no-unused-vars: ["error", {
|
|
"argsIgnorePattern": "^_",
|
|
}],
|
|
},
|
|
"settings" : {
|
|
"import/resolver": {
|
|
"webpack": {
|
|
"config": "webpack.config.js"
|
|
}
|
|
}
|
|
},
|
|
"env": {
|
|
"jest": true,
|
|
},
|
|
"globals": {
|
|
__DEV__: true,
|
|
SLACK_KEY: true,
|
|
SLACK_REDIRECT_URI: true,
|
|
DEPLOYMENT: true,
|
|
|
|
afterAll: true
|
|
},
|
|
}
|