Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.83 KB | None | 0 0
  1. {
  2.   "extends": ["airbnb", "plugin:import/errors", "plugin:import/warnings"],
  3.   "plugins": [
  4.     "jest",
  5.     "html",
  6.     "babel",
  7.     "json-format",
  8.     "array-func",
  9.     "promise",
  10.     "no-secrets",
  11.     "simple-import-sort"
  12.   ],
  13.   "parser": "babel-eslint",
  14.   "env": {
  15.     "browser": true,
  16.     "node": true,
  17.     "es6": true,
  18.     "mocha": true,
  19.     "jest": true
  20.   },
  21.   "rules": {
  22.     "radix": 0,
  23.     "arrow-parens": 0,
  24.     "jest/no-disabled-tests": "warn",
  25.     "jest/no-focused-tests": "error",
  26.     "jest/no-identical-title": "error",
  27.     "jest/prefer-to-have-length": "warn",
  28.     "jest/valid-expect": "error",
  29.     "no-restricted-syntax": 0,
  30.     "no-restricted-globals": 0,
  31.     "react/jsx-max-props-per-line": [1, { "maximum": 1 }],
  32.     "babel/new-cap": 1,
  33.     "babel/camelcase": 1,
  34.     "babel/no-invalid-this": 1,
  35.     "babel/object-curly-spacing": 1,
  36.     "babel/semi": 1,
  37.     "babel/no-unused-expressions": 1,
  38.     "babel/valid-typeof": 1,
  39.     "promise/always-return": "error",
  40.     "promise/no-return-wrap": "error",
  41.     "promise/param-names": "error",
  42.     "promise/catch-or-return": "error",
  43.     "promise/no-native": "off",
  44.     "promise/no-nesting": "warn",
  45.     "promise/no-promise-in-callback": "warn",
  46.     "promise/no-callback-in-promise": "warn",
  47.     "promise/avoid-new": "warn",
  48.     "promise/no-new-statics": "error",
  49.     "promise/no-return-in-finally": "warn",
  50.     "promise/valid-params": "warn",
  51.     "no-secrets/no-secrets": "error",
  52.     "simple-import-sort/sort": "error",
  53.     "sort-imports": "off",
  54.     "import/order": "off"
  55.   },
  56.   "settings": {
  57.     "import/extensions": [".js", ".jsx"],
  58.     "import/core-modules": ["react", "react-dom"],
  59.     "json/sort-package-json": "standard",
  60.     "json/ignore-files": ["**/package-lock.json"],
  61.     "json/json-with-comments-files": ["**/tsconfig.json", ".vscode/**"]
  62.   }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement