scinote-web/.eslintrc.json

42 lines
899 B
JSON

{
"env": {
"browser": true,
"jquery": true,
"es6": true,
"node": true
},
"plugins": ["flowtype", "react", "prettier"],
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2016,
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"rules": {
"import/extensions": "off",
"import/no-unresolved": "off",
// Because of flow-typed & flow-bin
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"spaced-comment": [
"error",
"always",
{
"markers": ["="]
}
],
"lines-around-comment": [
"warn",
{
"beforeLineComment": false
}
]
},
"globals": {
"_": true
}
}