Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.35 KB | None | 0 0
  1. {
  2. "globals": {
  3. "afterAll": false,
  4. "afterEach": false,
  5. "beforeAll": false,
  6. "beforeEach": false,
  7. "describe": false,
  8. "expect": false,
  9. "fit": false,
  10. "it": false,
  11. "jasmine": false,
  12. "jest": false,
  13. "pending": false,
  14. "pit": false,
  15. "require": false,
  16. "test": false,
  17. "xdescribe": false,
  18. "xit": false,
  19. "xtest": false,
  20. "clearInterval": false,
  21. "clearTimeout": false,
  22. "console": false,
  23. "setInterval": false,
  24. "setTimeout": false,
  25. "URL": false,
  26. "URLSearchParams": false,
  27. "Array": false,
  28. "ArrayBuffer": false,
  29. "Boolean": false,
  30. "constructor": false,
  31. "DataView": false,
  32. "Date": false,
  33. "decodeURI": false,
  34. "decodeURIComponent": false,
  35. "encodeURI": false,
  36. "encodeURIComponent": false,
  37. "Error": false,
  38. "escape": false,
  39. "eval": false,
  40. "EvalError": false,
  41. "Float32Array": false,
  42. "Float64Array": false,
  43. "Function": false,
  44. "hasOwnProperty": false,
  45. "Infinity": false,
  46. "Int16Array": false,
  47. "Int32Array": false,
  48. "Int8Array": false,
  49. "isFinite": false,
  50. "isNaN": false,
  51. "isPrototypeOf": false,
  52. "JSON": false,
  53. "Map": false,
  54. "Math": false,
  55. "NaN": false,
  56. "Number": false,
  57. "Object": false,
  58. "parseFloat": false,
  59. "parseInt": false,
  60. "Promise": false,
  61. "propertyIsEnumerable": false,
  62. "Proxy": false,
  63. "RangeError": false,
  64. "ReferenceError": false,
  65. "Reflect": false,
  66. "RegExp": false,
  67. "Set": false,
  68. "String": false,
  69. "Symbol": false,
  70. "SyntaxError": false,
  71. "toLocaleString": false,
  72. "toString": false,
  73. "TypeError": false,
  74. "Uint16Array": false,
  75. "Uint32Array": false,
  76. "Uint8Array": false,
  77. "Uint8ClampedArray": false,
  78. "undefined": false,
  79. "unescape": false,
  80. "URIError": false,
  81. "valueOf": false,
  82. "WeakMap": false,
  83. "WeakSet": false,
  84. "__NODE__": false,
  85. "__BROWSER__": false,
  86. "__DEV__": false
  87. },
  88. "env": {
  89. "jest/globals": true,
  90. "shared-node-browser": true,
  91. "es6": true
  92. },
  93. "rules": {
  94. "flowtype/boolean-style": [
  95. 2,
  96. "boolean"
  97. ],
  98. "flowtype/define-flow-type": 1,
  99. "flowtype/delimiter-dangle": 0,
  100. "flowtype/generic-spacing": [
  101. "off",
  102. "never"
  103. ],
  104. "flowtype/no-mixed": 0,
  105. "flowtype/no-types-missing-file-annotation": 2,
  106. "flowtype/no-weak-types": 0,
  107. "flowtype/require-parameter-type": 0,
  108. "flowtype/require-readonly-react-props": 0,
  109. "flowtype/require-return-type": 0,
  110. "flowtype/require-valid-file-annotation": [
  111. "error",
  112. "always"
  113. ],
  114. "flowtype/semi": 0,
  115. "flowtype/space-after-type-colon": [
  116. "off",
  117. "always"
  118. ],
  119. "flowtype/space-before-generic-bracket": [
  120. 2,
  121. "never"
  122. ],
  123. "flowtype/space-before-type-colon": [
  124. 2,
  125. "never"
  126. ],
  127. "flowtype/type-id-match": 0,
  128. "flowtype/union-intersection-spacing": [
  129. 2,
  130. "always"
  131. ],
  132. "flowtype/use-flow-type": 1,
  133. "react/display-name": 2,
  134. "react/jsx-key": 2,
  135. "react/jsx-no-comment-textnodes": 2,
  136. "react/jsx-no-duplicate-props": 2,
  137. "react/jsx-no-target-blank": 2,
  138. "react/jsx-no-undef": 2,
  139. "react/jsx-uses-react": 2,
  140. "react/jsx-uses-vars": 2,
  141. "react/no-children-prop": 2,
  142. "react/no-danger-with-children": 2,
  143. "react/no-deprecated": 2,
  144. "react/no-direct-mutation-state": 2,
  145. "react/no-find-dom-node": 2,
  146. "react/no-is-mounted": 2,
  147. "react/no-render-return-value": 2,
  148. "react/no-string-refs": 2,
  149. "react/no-unescaped-entities": 2,
  150. "react/no-unknown-property": 2,
  151. "react/no-unsafe": 0,
  152. "react/prop-types": "off",
  153. "react/react-in-jsx-scope": 2,
  154. "react/require-render-return": 2,
  155. "jest/no-alias-methods": "warn",
  156. "jest/no-disabled-tests": "warn",
  157. "jest/no-focused-tests": "error",
  158. "jest/no-identical-title": "error",
  159. "jest/no-jest-import": "error",
  160. "jest/no-jasmine-globals": "warn",
  161. "jest/no-test-prefixes": "error",
  162. "jest/valid-describe": "error",
  163. "jest/valid-expect": "error",
  164. "jest/valid-expect-in-promise": "error",
  165. "import/no-unresolved": [
  166. "error",
  167. {
  168. "commonjs": true,
  169. "caseSensitive": true
  170. }
  171. ],
  172. "import/named": "error",
  173. "import/default": "error",
  174. "import/namespace": "off",
  175. "import/export": "error",
  176. "import/no-named-as-default": "error",
  177. "import/no-named-as-default-member": "error",
  178. "import/no-deprecated": "off",
  179. "import/no-extraneous-dependencies": [
  180. "error",
  181. {
  182. "optionalDependencies": false
  183. }
  184. ],
  185. "import/no-mutable-exports": "error",
  186. "import/no-commonjs": "off",
  187. "import/no-amd": "error",
  188. "import/no-nodejs-modules": "off",
  189. "import/first": [
  190. "error"
  191. ],
  192. "import/no-duplicates": "error",
  193. "import/no-namespace": "off",
  194. "import/extensions": [
  195. "error",
  196. "never"
  197. ],
  198. "import/order": "error",
  199. "import/newline-after-import": "error",
  200. "import/prefer-default-export": "off",
  201. "import/no-restricted-paths": "off",
  202. "import/max-dependencies": "off",
  203. "import/no-absolute-path": "error",
  204. "import/no-dynamic-require": "error",
  205. "import/no-internal-modules": "off",
  206. "import/unambiguous": "off",
  207. "import/no-webpack-loader-syntax": "error",
  208. "import/no-unassigned-import": "off",
  209. "import/no-named-default": "error",
  210. "import/no-anonymous-default-export": "off",
  211. "import/exports-last": "off",
  212. "accessor-pairs": "off",
  213. "array-bracket-newline": "off",
  214. "array-bracket-spacing": "off",
  215. "array-callback-return": "off",
  216. "array-element-newline": "off",
  217. "arrow-body-style": "off",
  218. "arrow-parens": "off",
  219. "arrow-spacing": "off",
  220. "block-scoped-var": "off",
  221. "block-spacing": "off",
  222. "brace-style": "off",
  223. "callback-return": "off",
  224. "camelcase": "off",
  225. "capitalized-comments": "off",
  226. "class-methods-use-this": "off",
  227. "comma-dangle": "off",
  228. "comma-spacing": "off",
  229. "comma-style": "off",
  230. "complexity": "off",
  231. "computed-property-spacing": "off",
  232. "consistent-return": "off",
  233. "consistent-this": "off",
  234. "constructor-super": "error",
  235. "curly": 0,
  236. "default-case": "off",
  237. "dot-location": "off",
  238. "dot-notation": "off",
  239. "eol-last": "off",
  240. "eqeqeq": "off",
  241. "for-direction": "error",
  242. "func-call-spacing": "off",
  243. "func-name-matching": "off",
  244. "func-names": "off",
  245. "func-style": "off",
  246. "function-paren-newline": "off",
  247. "generator-star-spacing": "off",
  248. "getter-return": "error",
  249. "global-require": "off",
  250. "guard-for-in": "off",
  251. "handle-callback-err": "off",
  252. "id-blacklist": "off",
  253. "id-length": "off",
  254. "id-match": "off",
  255. "implicit-arrow-linebreak": "off",
  256. "indent": "off",
  257. "indent-legacy": "off",
  258. "init-declarations": "off",
  259. "jsx-quotes": "off",
  260. "key-spacing": "off",
  261. "keyword-spacing": "off",
  262. "line-comment-position": "off",
  263. "linebreak-style": "off",
  264. "lines-around-comment": 0,
  265. "lines-around-directive": "off",
  266. "lines-between-class-members": "off",
  267. "max-classes-per-file": "off",
  268. "max-depth": "off",
  269. "max-len": 0,
  270. "max-lines": "off",
  271. "max-lines-per-function": "off",
  272. "max-nested-callbacks": "off",
  273. "max-params": "off",
  274. "max-statements": "off",
  275. "max-statements-per-line": "off",
  276. "multiline-comment-style": "off",
  277. "multiline-ternary": "off",
  278. "new-cap": "off",
  279. "new-parens": "off",
  280. "newline-after-var": "off",
  281. "newline-before-return": "off",
  282. "newline-per-chained-call": "off",
  283. "no-alert": "off",
  284. "no-array-constructor": "off",
  285. "no-async-promise-executor": "off",
  286. "no-await-in-loop": "off",
  287. "no-bitwise": "off",
  288. "no-buffer-constructor": "off",
  289. "no-caller": "off",
  290. "no-case-declarations": "error",
  291. "no-catch-shadow": "off",
  292. "no-class-assign": "error",
  293. "no-compare-neg-zero": "error",
  294. "no-cond-assign": "error",
  295. "no-confusing-arrow": 0,
  296. "no-console": "error",
  297. "no-const-assign": "error",
  298. "no-constant-condition": "error",
  299. "no-continue": "off",
  300. "no-control-regex": "error",
  301. "no-debugger": "error",
  302. "no-delete-var": "error",
  303. "no-div-regex": "off",
  304. "no-dupe-args": "error",
  305. "no-dupe-class-members": "error",
  306. "no-dupe-keys": "error",
  307. "no-duplicate-case": "error",
  308. "no-duplicate-imports": "off",
  309. "no-else-return": "off",
  310. "no-empty": "error",
  311. "no-empty-character-class": "error",
  312. "no-empty-function": "off",
  313. "no-empty-pattern": "error",
  314. "no-eq-null": "off",
  315. "no-eval": "off",
  316. "no-ex-assign": "error",
  317. "no-extend-native": "off",
  318. "no-extra-bind": "off",
  319. "no-extra-boolean-cast": "error",
  320. "no-extra-label": "off",
  321. "no-extra-parens": "off",
  322. "no-extra-semi": "off",
  323. "no-fallthrough": "error",
  324. "no-floating-decimal": "off",
  325. "no-func-assign": "error",
  326. "no-global-assign": "error",
  327. "no-implicit-coercion": "off",
  328. "no-implicit-globals": "off",
  329. "no-implied-eval": "off",
  330. "no-inline-comments": "off",
  331. "no-inner-declarations": "error",
  332. "no-invalid-regexp": "error",
  333. "no-invalid-this": "off",
  334. "no-irregular-whitespace": "error",
  335. "no-iterator": "off",
  336. "no-label-var": "off",
  337. "no-labels": "off",
  338. "no-lone-blocks": "off",
  339. "no-lonely-if": "off",
  340. "no-loop-func": "off",
  341. "no-magic-numbers": "off",
  342. "no-misleading-character-class": "off",
  343. "no-mixed-operators": 0,
  344. "no-mixed-requires": "off",
  345. "no-mixed-spaces-and-tabs": "off",
  346. "no-multi-assign": "off",
  347. "no-multi-spaces": "off",
  348. "no-multi-str": "off",
  349. "no-multiple-empty-lines": "off",
  350. "no-native-reassign": "off",
  351. "no-negated-condition": "off",
  352. "no-negated-in-lhs": "off",
  353. "no-nested-ternary": "off",
  354. "no-new": "off",
  355. "no-new-func": "off",
  356. "no-new-object": "off",
  357. "no-new-require": "off",
  358. "no-new-symbol": "error",
  359. "no-new-wrappers": "off",
  360. "no-obj-calls": "error",
  361. "no-octal": "error",
  362. "no-octal-escape": "off",
  363. "no-param-reassign": "off",
  364. "no-path-concat": "off",
  365. "no-plusplus": "off",
  366. "no-process-env": "off",
  367. "no-process-exit": "off",
  368. "no-proto": "off",
  369. "no-prototype-builtins": "off",
  370. "no-redeclare": "error",
  371. "no-regex-spaces": "error",
  372. "no-restricted-globals": "off",
  373. "no-restricted-imports": "off",
  374. "no-restricted-modules": "off",
  375. "no-restricted-properties": "off",
  376. "no-restricted-syntax": "off",
  377. "no-return-assign": "off",
  378. "no-return-await": "off",
  379. "no-script-url": "off",
  380. "no-self-assign": "error",
  381. "no-self-compare": "off",
  382. "no-sequences": "off",
  383. "no-shadow": "off",
  384. "no-shadow-restricted-names": "off",
  385. "no-spaced-func": "off",
  386. "no-sparse-arrays": "error",
  387. "no-sync": "off",
  388. "no-tabs": 0,
  389. "no-template-curly-in-string": "off",
  390. "no-ternary": "off",
  391. "no-this-before-super": "error",
  392. "no-throw-literal": "off",
  393. "no-trailing-spaces": "off",
  394. "no-undef": "off",
  395. "no-undef-init": "off",
  396. "no-undefined": "off",
  397. "no-underscore-dangle": "off",
  398. "no-unexpected-multiline": 0,
  399. "no-unmodified-loop-condition": "off",
  400. "no-unneeded-ternary": "off",
  401. "no-unreachable": "error",
  402. "no-unsafe-finally": "error",
  403. "no-unsafe-negation": "error",
  404. "no-unused-expressions": "off",
  405. "no-unused-labels": "error",
  406. "no-unused-vars": [
  407. "error",
  408. {
  409. "vars": "all",
  410. "args": "none",
  411. "ignoreRestSiblings": true
  412. }
  413. ],
  414. "no-use-before-define": "off",
  415. "no-useless-call": "off",
  416. "no-useless-catch": "off",
  417. "no-useless-computed-key": "off",
  418. "no-useless-concat": "off",
  419. "no-useless-constructor": "off",
  420. "no-useless-escape": "error",
  421. "no-useless-rename": "off",
  422. "no-useless-return": "off",
  423. "no-var": "off",
  424. "no-void": "off",
  425. "no-warning-comments": "off",
  426. "no-whitespace-before-property": "off",
  427. "no-with": "off",
  428. "nonblock-statement-body-position": "off",
  429. "object-curly-newline": "off",
  430. "object-curly-spacing": "off",
  431. "object-property-newline": "off",
  432. "object-shorthand": "off",
  433. "one-var": "off",
  434. "one-var-declaration-per-line": "off",
  435. "operator-assignment": "off",
  436. "operator-linebreak": "off",
  437. "padded-blocks": "off",
  438. "padding-line-between-statements": "off",
  439. "prefer-arrow-callback": "off",
  440. "prefer-const": "off",
  441. "prefer-destructuring": "off",
  442. "prefer-named-capture-group": "off",
  443. "prefer-numeric-literals": "off",
  444. "prefer-object-spread": "off",
  445. "prefer-promise-reject-errors": "off",
  446. "prefer-reflect": "off",
  447. "prefer-rest-params": "off",
  448. "prefer-spread": "off",
  449. "prefer-template": "off",
  450. "quote-props": "off",
  451. "quotes": 0,
  452. "radix": "off",
  453. "require-atomic-updates": 0,
  454. "require-await": "off",
  455. "require-jsdoc": "off",
  456. "require-unicode-regexp": "off",
  457. "require-yield": "error",
  458. "rest-spread-spacing": "off",
  459. "semi": "off",
  460. "semi-spacing": "off",
  461. "semi-style": "off",
  462. "sort-imports": "off",
  463. "sort-keys": "off",
  464. "sort-vars": "off",
  465. "space-before-blocks": "off",
  466. "space-before-function-paren": "off",
  467. "space-in-parens": "off",
  468. "space-infix-ops": "off",
  469. "space-unary-ops": "off",
  470. "spaced-comment": "off",
  471. "strict": "off",
  472. "switch-colon-spacing": "off",
  473. "symbol-description": "off",
  474. "template-curly-spacing": "off",
  475. "template-tag-spacing": "off",
  476. "unicode-bom": "off",
  477. "use-isnan": "error",
  478. "valid-jsdoc": "off",
  479. "valid-typeof": "error",
  480. "vars-on-top": "off",
  481. "wrap-iife": "off",
  482. "wrap-regex": "off",
  483. "yield-star-spacing": "off",
  484. "yoda": "off",
  485. "generator-star": "off",
  486. "no-arrow-condition": "off",
  487. "no-comma-dangle": "off",
  488. "no-reserved-keys": "off",
  489. "no-space-before-semi": "off",
  490. "no-wrap-func": "off",
  491. "space-after-function-name": "off",
  492. "space-after-keywords": "off",
  493. "space-before-function-parentheses": "off",
  494. "space-before-keywords": "off",
  495. "space-in-brackets": "off",
  496. "space-return-throw-case": "off",
  497. "space-unary-word-ops": "off",
  498. "prettier/prettier": [
  499. "none",
  500. {
  501. "printWidth": 80,
  502. "tabWidth": 2,
  503. "useTabs": false,
  504. "semi": true,
  505. "singleQuote": true,
  506. "trailingComma": "es5",
  507. "bracketSpacing": false,
  508. "jsxBracketSameLine": false,
  509. "rangeStart": 0,
  510. "rangeEnd": null
  511. }
  512. ],
  513. "cup/no-undef": [
  514. "error"
  515. ],
  516. "react-hooks/rules-of-hooks": "error",
  517. "react-hooks/exhaustive-deps": "warn",
  518. "flowtype/type-import-style": [
  519. "error",
  520. "identifier",
  521. {
  522. "ignoreTypeDefault": true
  523. }
  524. ],
  525. "import/no-useless-path-segments": "error",
  526. "import/no-cycle": "error",
  527. "import/no-self-import": "error",
  528. "jsdoc/require-jsdoc": [
  529. "error",
  530. {
  531. "publicOnly": true,
  532. "require": {
  533. "ArrowFunctionExpression": true,
  534. "ClassDeclaration": true,
  535. "ClassExpression": true,
  536. "FunctionDeclaration": true,
  537. "MethodDefinition": true,
  538. "FunctionExpression": false
  539. },
  540. "exemptEmptyFunctions": false
  541. }
  542. ],
  543. "jsdoc/require-description": "error"
  544. },
  545. "parserOptions": {
  546. "ecmaVersion": 2017,
  547. "ecmaFeatures": {
  548. "jsx": true
  549. },
  550. "sourceType": "module"
  551. },
  552. "parser": "..../node_modules/babel-eslint/lib/index.js",
  553. "plugins": [
  554. "flowtype",
  555. "react",
  556. "jest",
  557. "eslint-plugin-import",
  558. "eslint-plugin-prettier",
  559. "eslint-plugin-cup",
  560. "eslint-plugin-flowtype",
  561. "eslint-plugin-react",
  562. "eslint-plugin-react-hooks",
  563. "jsdoc"
  564. ],
  565. "settings": {
  566. "flowtype": {
  567. "onlyFilesWithFlowAnnotation": false
  568. },
  569. "import/resolver": {
  570. "node": {
  571. "extensions": [
  572. ".js",
  573. ".json"
  574. ]
  575. }
  576. },
  577. "import/extensions": [
  578. ".js"
  579. ],
  580. "import/core-modules": [],
  581. "import/ignore": [],
  582. "react": {
  583. "version": "latest"
  584. }
  585. },
  586. "extends": [
  587. "eslint:recommended",
  588. "..../node_modules/eslint-config-prettier/index.js",
  589. "..../node_modules/eslint-config-uber-base/index.js",
  590. "..../node_modules/eslint-config-uber-base-stage-3/index.js",
  591. "..../node_modules/eslint-config-cup/eslintrc.js",
  592. "plugin:flowtype/recommended",
  593. "plugin:react/recommended",
  594. "plugin:jest/recommended",
  595. "./rules/imports.js",
  596. "..../node_modules/eslint-config-uber-universal-stage-3/index.js",
  597. "..../node_modules/eslint-config-fusion/index.js"
  598. ]
  599. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement