fetch-with-status
Version:
fetch with status helpers
67 lines (66 loc) • 1.9 kB
JSON
{
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"plugins": [
],
"rules": {
"comma-dangle": [
"error",
"always-multiline"
],
"no-var": [
"error"
],
"indent": [
"error",
2
],
"no-console": 0,
"no-unused-vars": ["error", {"argsIgnorePattern": "^_$", "varsIgnorePattern": "^styles$"}],
"dot-location": ["error", "property"],
"dot-notation": "error",
"no-floating-decimal": "error",
"no-warning-comments": ["error", {"terms": ["fix", "xxx"], "location": "start"}],
"radix": ["error", "always"],
"brace-style": ["error", "1tbs", {"allowSingleLine": true}],
"comma-spacing": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"block-spacing": "error",
"generator-star-spacing": "error",
"array-bracket-spacing": "error",
"computed-property-spacing": "error",
"eol-last": "error",
"linebreak-style": "error",
"jsx-quotes": ["error", "prefer-single"],
"quotes": ["error", "single", {"allowTemplateLiterals": true}],
"semi": ["error", "never"],
"space-before-blocks": "error",
"space-in-parens": "error",
"spaced-comment": "error",
"arrow-spacing": "error",
"template-curly-spacing": "error",
"arrow-body-style": "error",
"no-useless-computed-key": "error",
"no-useless-constructor": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prefer-template": "error",
"prefer-const": ["error", {"destructuring": "all"}],
"object-shorthand": "error",
"space-infix-ops": ["error", {"int32Hint": true}],
"no-duplicate-imports": ["error", {"includeExports": true}]
}
}