2017-06-03 02:55:23 +08:00
|
|
|
module.exports = {
|
|
|
|
"extends": "airbnb",
|
|
|
|
"plugins": [
|
2017-06-05 21:26:47 +08:00
|
|
|
"react",
|
|
|
|
"jsx-a11y",
|
|
|
|
"import",
|
2017-06-03 02:55:23 +08:00
|
|
|
],
|
2017-06-03 04:42:13 +08:00
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true,
|
|
|
|
"browser": true,
|
|
|
|
"meteor": true,
|
2019-06-22 04:11:05 +08:00
|
|
|
"jasmine": true,
|
2017-06-03 04:42:13 +08:00
|
|
|
},
|
2017-06-03 02:55:23 +08:00
|
|
|
"rules": {
|
2017-06-03 04:42:13 +08:00
|
|
|
"no-underscore-dangle": 0,
|
2017-06-03 03:16:30 +08:00
|
|
|
"import/extensions": [2, "never"],
|
|
|
|
"import/no-absolute-path": 0,
|
|
|
|
"import/no-unresolved": 0,
|
2017-06-03 04:42:13 +08:00
|
|
|
"import/no-extraneous-dependencies": 1,
|
|
|
|
"react/prop-types": 1,
|
2021-03-17 22:30:07 +08:00
|
|
|
"jsx-a11y/no-access-key": 0,
|
2017-06-03 02:55:23 +08:00
|
|
|
},
|
2019-06-22 04:11:05 +08:00
|
|
|
"globals": {
|
|
|
|
"browser": "writable",
|
|
|
|
},
|
2017-06-03 02:55:23 +08:00
|
|
|
};
|