index.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /**
  2. * DON'T EDIT THIS FILE.
  3. * This file was generated automatically by 'scripts/update-index.js'.
  4. */
  5. "use strict"
  6. module.exports = {
  7. configs: {
  8. "no-2019": {
  9. rules: {
  10. "es/no-json-superset": "error",
  11. "es/no-optional-catch-binding": "error",
  12. "es/no-regexp-unicode-property-escapes-2019": "error",
  13. },
  14. },
  15. "no-2018": {
  16. rules: {
  17. "es/no-async-iteration": "error",
  18. "es/no-malformed-template-literals": "error",
  19. "es/no-regexp-lookbehind-assertions": "error",
  20. "es/no-regexp-named-capture-groups": "error",
  21. "es/no-regexp-s-flag": "error",
  22. "es/no-regexp-unicode-property-escapes": "error",
  23. "es/no-rest-spread-properties": "error",
  24. },
  25. },
  26. "no-2017": {
  27. rules: {
  28. "es/no-async-functions": "error",
  29. "es/no-atomics": "error",
  30. "es/no-object-entries": "error",
  31. "es/no-object-getownpropertydescriptors": "error",
  32. "es/no-object-values": "error",
  33. "es/no-shared-array-buffer": "error",
  34. "es/no-trailing-function-commas": "error",
  35. },
  36. },
  37. "no-2016": {
  38. rules: {
  39. "es/no-exponential-operators": "error",
  40. },
  41. },
  42. "no-2015": {
  43. rules: {
  44. "es/no-array-from": "error",
  45. "es/no-array-of": "error",
  46. "es/no-arrow-functions": "error",
  47. "es/no-binary-numeric-literals": "error",
  48. "es/no-block-scoped-functions": "error",
  49. "es/no-block-scoped-variables": "error",
  50. "es/no-classes": "error",
  51. "es/no-computed-properties": "error",
  52. "es/no-default-parameters": "error",
  53. "es/no-destructuring": "error",
  54. "es/no-for-of-loops": "error",
  55. "es/no-generators": "error",
  56. "es/no-map": "error",
  57. "es/no-math-acosh": "error",
  58. "es/no-math-asinh": "error",
  59. "es/no-math-atanh": "error",
  60. "es/no-math-cbrt": "error",
  61. "es/no-math-clz32": "error",
  62. "es/no-math-cosh": "error",
  63. "es/no-math-expm1": "error",
  64. "es/no-math-fround": "error",
  65. "es/no-math-hypot": "error",
  66. "es/no-math-imul": "error",
  67. "es/no-math-log10": "error",
  68. "es/no-math-log1p": "error",
  69. "es/no-math-log2": "error",
  70. "es/no-math-sign": "error",
  71. "es/no-math-sinh": "error",
  72. "es/no-math-tanh": "error",
  73. "es/no-math-trunc": "error",
  74. "es/no-modules": "error",
  75. "es/no-new-target": "error",
  76. "es/no-number-epsilon": "error",
  77. "es/no-number-isfinite": "error",
  78. "es/no-number-isinteger": "error",
  79. "es/no-number-isnan": "error",
  80. "es/no-number-issafeinteger": "error",
  81. "es/no-number-maxsafeinteger": "error",
  82. "es/no-number-minsafeinteger": "error",
  83. "es/no-number-parsefloat": "error",
  84. "es/no-number-parseint": "error",
  85. "es/no-object-assign": "error",
  86. "es/no-object-getownpropertysymbols": "error",
  87. "es/no-object-is": "error",
  88. "es/no-object-setprototypeof": "error",
  89. "es/no-object-super-properties": "error",
  90. "es/no-octal-numeric-literals": "error",
  91. "es/no-promise": "error",
  92. "es/no-property-shorthands": "error",
  93. "es/no-proxy": "error",
  94. "es/no-reflect": "error",
  95. "es/no-regexp-u-flag": "error",
  96. "es/no-regexp-y-flag": "error",
  97. "es/no-rest-parameters": "error",
  98. "es/no-set": "error",
  99. "es/no-spread-elements": "error",
  100. "es/no-string-fromcodepoint": "error",
  101. "es/no-string-raw": "error",
  102. "es/no-subclassing-builtins": "error",
  103. "es/no-symbol": "error",
  104. "es/no-template-literals": "error",
  105. "es/no-typed-arrays": "error",
  106. "es/no-unicode-codepoint-escapes": "error",
  107. "es/no-weak-map": "error",
  108. "es/no-weak-set": "error",
  109. },
  110. },
  111. "no-5": {
  112. rules: {
  113. "es/no-accessor-properties": "error",
  114. "es/no-array-isarray": "error",
  115. "es/no-date-now": "error",
  116. "es/no-json": "error",
  117. "es/no-keyword-properties": "error",
  118. "es/no-object-defineproperties": "error",
  119. "es/no-object-defineproperty": "error",
  120. "es/no-object-freeze": "error",
  121. "es/no-object-getownpropertydescriptor": "error",
  122. "es/no-object-getownpropertynames": "error",
  123. "es/no-object-getprototypeof": "error",
  124. "es/no-object-isextensible": "error",
  125. "es/no-object-isfrozen": "error",
  126. "es/no-object-issealed": "error",
  127. "es/no-object-keys": "error",
  128. "es/no-object-preventextensions": "error",
  129. "es/no-object-seal": "error",
  130. "es/no-trailing-commas": "error",
  131. },
  132. },
  133. },
  134. rules: {
  135. "no-accessor-properties": require("./rules/no-accessor-properties"),
  136. "no-array-from": require("./rules/no-array-from"),
  137. "no-array-isarray": require("./rules/no-array-isarray"),
  138. "no-array-of": require("./rules/no-array-of"),
  139. "no-arrow-functions": require("./rules/no-arrow-functions"),
  140. "no-async-functions": require("./rules/no-async-functions"),
  141. "no-async-iteration": require("./rules/no-async-iteration"),
  142. "no-atomics": require("./rules/no-atomics"),
  143. "no-bigint": require("./rules/no-bigint"),
  144. "no-binary-numeric-literals": require("./rules/no-binary-numeric-literals"),
  145. "no-block-scoped-functions": require("./rules/no-block-scoped-functions"),
  146. "no-block-scoped-variables": require("./rules/no-block-scoped-variables"),
  147. "no-classes": require("./rules/no-classes"),
  148. "no-computed-properties": require("./rules/no-computed-properties"),
  149. "no-date-now": require("./rules/no-date-now"),
  150. "no-default-parameters": require("./rules/no-default-parameters"),
  151. "no-destructuring": require("./rules/no-destructuring"),
  152. "no-dynamic-import": require("./rules/no-dynamic-import"),
  153. "no-exponential-operators": require("./rules/no-exponential-operators"),
  154. "no-for-of-loops": require("./rules/no-for-of-loops"),
  155. "no-generators": require("./rules/no-generators"),
  156. "no-global-this": require("./rules/no-global-this"),
  157. "no-json-superset": require("./rules/no-json-superset"),
  158. "no-json": require("./rules/no-json"),
  159. "no-keyword-properties": require("./rules/no-keyword-properties"),
  160. "no-malformed-template-literals": require("./rules/no-malformed-template-literals"),
  161. "no-map": require("./rules/no-map"),
  162. "no-math-acosh": require("./rules/no-math-acosh"),
  163. "no-math-asinh": require("./rules/no-math-asinh"),
  164. "no-math-atanh": require("./rules/no-math-atanh"),
  165. "no-math-cbrt": require("./rules/no-math-cbrt"),
  166. "no-math-clz32": require("./rules/no-math-clz32"),
  167. "no-math-cosh": require("./rules/no-math-cosh"),
  168. "no-math-expm1": require("./rules/no-math-expm1"),
  169. "no-math-fround": require("./rules/no-math-fround"),
  170. "no-math-hypot": require("./rules/no-math-hypot"),
  171. "no-math-imul": require("./rules/no-math-imul"),
  172. "no-math-log10": require("./rules/no-math-log10"),
  173. "no-math-log1p": require("./rules/no-math-log1p"),
  174. "no-math-log2": require("./rules/no-math-log2"),
  175. "no-math-sign": require("./rules/no-math-sign"),
  176. "no-math-sinh": require("./rules/no-math-sinh"),
  177. "no-math-tanh": require("./rules/no-math-tanh"),
  178. "no-math-trunc": require("./rules/no-math-trunc"),
  179. "no-modules": require("./rules/no-modules"),
  180. "no-new-target": require("./rules/no-new-target"),
  181. "no-number-epsilon": require("./rules/no-number-epsilon"),
  182. "no-number-isfinite": require("./rules/no-number-isfinite"),
  183. "no-number-isinteger": require("./rules/no-number-isinteger"),
  184. "no-number-isnan": require("./rules/no-number-isnan"),
  185. "no-number-issafeinteger": require("./rules/no-number-issafeinteger"),
  186. "no-number-maxsafeinteger": require("./rules/no-number-maxsafeinteger"),
  187. "no-number-minsafeinteger": require("./rules/no-number-minsafeinteger"),
  188. "no-number-parsefloat": require("./rules/no-number-parsefloat"),
  189. "no-number-parseint": require("./rules/no-number-parseint"),
  190. "no-object-assign": require("./rules/no-object-assign"),
  191. "no-object-defineproperties": require("./rules/no-object-defineproperties"),
  192. "no-object-defineproperty": require("./rules/no-object-defineproperty"),
  193. "no-object-entries": require("./rules/no-object-entries"),
  194. "no-object-freeze": require("./rules/no-object-freeze"),
  195. "no-object-getownpropertydescriptor": require("./rules/no-object-getownpropertydescriptor"),
  196. "no-object-getownpropertydescriptors": require("./rules/no-object-getownpropertydescriptors"),
  197. "no-object-getownpropertynames": require("./rules/no-object-getownpropertynames"),
  198. "no-object-getownpropertysymbols": require("./rules/no-object-getownpropertysymbols"),
  199. "no-object-getprototypeof": require("./rules/no-object-getprototypeof"),
  200. "no-object-is": require("./rules/no-object-is"),
  201. "no-object-isextensible": require("./rules/no-object-isextensible"),
  202. "no-object-isfrozen": require("./rules/no-object-isfrozen"),
  203. "no-object-issealed": require("./rules/no-object-issealed"),
  204. "no-object-keys": require("./rules/no-object-keys"),
  205. "no-object-preventextensions": require("./rules/no-object-preventextensions"),
  206. "no-object-seal": require("./rules/no-object-seal"),
  207. "no-object-setprototypeof": require("./rules/no-object-setprototypeof"),
  208. "no-object-super-properties": require("./rules/no-object-super-properties"),
  209. "no-object-values": require("./rules/no-object-values"),
  210. "no-octal-numeric-literals": require("./rules/no-octal-numeric-literals"),
  211. "no-optional-catch-binding": require("./rules/no-optional-catch-binding"),
  212. "no-promise-all-settled": require("./rules/no-promise-all-settled"),
  213. "no-promise": require("./rules/no-promise"),
  214. "no-property-shorthands": require("./rules/no-property-shorthands"),
  215. "no-proxy": require("./rules/no-proxy"),
  216. "no-reflect": require("./rules/no-reflect"),
  217. "no-regexp-lookbehind-assertions": require("./rules/no-regexp-lookbehind-assertions"),
  218. "no-regexp-named-capture-groups": require("./rules/no-regexp-named-capture-groups"),
  219. "no-regexp-s-flag": require("./rules/no-regexp-s-flag"),
  220. "no-regexp-u-flag": require("./rules/no-regexp-u-flag"),
  221. "no-regexp-unicode-property-escapes-2019": require("./rules/no-regexp-unicode-property-escapes-2019"),
  222. "no-regexp-unicode-property-escapes": require("./rules/no-regexp-unicode-property-escapes"),
  223. "no-regexp-y-flag": require("./rules/no-regexp-y-flag"),
  224. "no-rest-parameters": require("./rules/no-rest-parameters"),
  225. "no-rest-spread-properties": require("./rules/no-rest-spread-properties"),
  226. "no-set": require("./rules/no-set"),
  227. "no-shared-array-buffer": require("./rules/no-shared-array-buffer"),
  228. "no-spread-elements": require("./rules/no-spread-elements"),
  229. "no-string-fromcodepoint": require("./rules/no-string-fromcodepoint"),
  230. "no-string-raw": require("./rules/no-string-raw"),
  231. "no-subclassing-builtins": require("./rules/no-subclassing-builtins"),
  232. "no-symbol": require("./rules/no-symbol"),
  233. "no-template-literals": require("./rules/no-template-literals"),
  234. "no-trailing-commas": require("./rules/no-trailing-commas"),
  235. "no-trailing-function-commas": require("./rules/no-trailing-function-commas"),
  236. "no-typed-arrays": require("./rules/no-typed-arrays"),
  237. "no-unicode-codepoint-escapes": require("./rules/no-unicode-codepoint-escapes"),
  238. "no-weak-map": require("./rules/no-weak-map"),
  239. "no-weak-set": require("./rules/no-weak-set"),
  240. },
  241. }