scinote-web/.eslintrc.json

40 lines
765 B
JSON
Raw Normal View History

{
"env": {
"browser": true,
2017-07-13 20:30:12 +08:00
"jquery": true,
"es6": true,
"node": true
},
"plugins": ["react", "prettier"],
2017-08-09 22:14:39 +08:00
"extends": ["airbnb", "prettier", "prettier/react"],
2017-08-07 15:31:24 +08:00
"parser": "babel-eslint",
2017-07-13 20:11:01 +08:00
"parserOptions": {
"sourceType": "module",
2017-08-07 15:31:24 +08:00
"ecmaVersion": 2016,
2017-07-13 20:11:01 +08:00
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"rules": {
"import/no-unresolved": [2, {"commonjs": true, "amd": true}],
2017-08-09 22:14:39 +08:00
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"spaced-comment": [
"error",
"always",
{
"markers": ["="]
}
],
"lines-around-comment": [
"warn",
{
"beforeLineComment": false
}
]
},
"globals": {
"_": true
}
}