This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/.eslintrc
2016-10-14 13:08:25 -07:00

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
},
}