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

31 lines
804 B
Plaintext
Raw Normal View History

2016-02-27 21:53:11 +00:00
{
"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
2016-08-03 12:00:17 +00:00
"react/jsx-curly-spacing": [2, "always", {"spacing": {
"objectLiterals": "never"
}}], // Spaces inside curlies, except prop={{}}
2016-08-03 11:48:01 +00:00
"react/prefer-stateless-function": 0, // Don't prefer stateless components
2016-02-27 21:53:11 +00:00
"no-else-return": 0,
2016-08-27 17:48:56 +00:00
"new-cap": 0,
"no-param-reassign": 0,
2016-09-02 22:41:28 +00:00
no-unused-vars: ["error", {
"argsIgnorePattern": "^_",
}],
2016-07-01 06:21:58 +00:00
},
"settings" : {
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
2016-07-26 05:49:32 +00:00
},
"globals": {
__DEV__: true,
SLACK_KEY: true,
SLACK_REDIRECT_URI: true,
},
2016-07-01 06:21:58 +00:00
}