THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

This is Gitea test Portainer repository mirror from Github
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

293 строки
6.6 KiB

  1. env:
  2. browser: true
  3. jquery: true
  4. node: true
  5. es6: true
  6. globals:
  7. angular: true
  8. __CONFIG_GA_ID: true
  9. extends:
  10. - 'eslint:recommended'
  11. parserOptions:
  12. ecmaVersion: 2018
  13. sourceType: module
  14. ecmaFeatures:
  15. modules: true
  16. # # http://eslint.org/docs/rules/
  17. rules:
  18. # # Possible Errors
  19. # no-await-in-loop: off
  20. # no-cond-assign: error
  21. # no-console: off
  22. # no-constant-condition: error
  23. no-control-regex: off
  24. # no-debugger: error
  25. # no-dupe-args: error
  26. # no-dupe-keys: error
  27. # no-duplicate-case: error
  28. # no-empty-character-class: error
  29. no-empty: warn
  30. # no-ex-assign: error
  31. # no-extra-boolean-cast: error
  32. # no-extra-parens: off
  33. # no-extra-semi: error
  34. # no-func-assign: error
  35. # no-inner-declarations:
  36. # - error
  37. # - functions
  38. # no-invalid-regexp: error
  39. # no-irregular-whitespace: error
  40. # no-negated-in-lhs: error
  41. # no-obj-calls: error
  42. # no-prototype-builtins: off
  43. # no-regex-spaces: error
  44. # no-sparse-arrays: error
  45. # no-template-curly-in-string: off
  46. # no-unexpected-multiline: error
  47. # no-unreachable: error
  48. # no-unsafe-finally: off
  49. # no-unsafe-negation: off
  50. # use-isnan: error
  51. # valid-jsdoc: off
  52. # valid-typeof: error
  53. # # Best Practices
  54. # accessor-pairs: error
  55. # array-callback-return: off
  56. # block-scoped-var: off
  57. # class-methods-use-this: off
  58. # complexity:
  59. # - error
  60. # - 6
  61. # consistent-return: off
  62. # curly: off
  63. # default-case: off
  64. # dot-location: off
  65. # dot-notation: off
  66. # eqeqeq: error
  67. # guard-for-in: error
  68. # no-alert: error
  69. # no-caller: error
  70. # no-case-declarations: error
  71. # no-div-regex: error
  72. # no-else-return: off
  73. no-empty-function: warn
  74. # no-empty-pattern: error
  75. # no-eq-null: error
  76. # no-eval: error
  77. # no-extend-native: error
  78. # no-extra-bind: error
  79. # no-extra-label: off
  80. # no-fallthrough: error
  81. # no-floating-decimal: off
  82. # no-global-assign: off
  83. # no-implicit-coercion: off
  84. # no-implied-eval: error
  85. # no-invalid-this: off
  86. # no-iterator: error
  87. # no-labels:
  88. # - error
  89. # - allowLoop: true
  90. # allowSwitch: true
  91. # no-lone-blocks: error
  92. # no-loop-func: error
  93. # no-magic-number: off
  94. # no-multi-spaces: off
  95. # no-multi-str: off
  96. # no-native-reassign: error
  97. # no-new-func: error
  98. # no-new-wrappers: error
  99. # no-new: error
  100. # no-octal-escape: error
  101. # no-octal: error
  102. # no-param-reassign: off
  103. # no-proto: error
  104. # no-redeclare: error
  105. # no-restricted-properties: off
  106. # no-return-assign: error
  107. # no-return-await: off
  108. # no-script-url: error
  109. # no-self-assign: off
  110. # no-self-compare: error
  111. # no-sequences: off
  112. # no-throw-literal: off
  113. # no-unmodified-loop-condition: off
  114. # no-unused-expressions: error
  115. # no-unused-labels: off
  116. # no-useless-call: error
  117. # no-useless-concat: error
  118. no-useless-escape: off
  119. # no-useless-return: off
  120. # no-void: error
  121. # no-warning-comments: off
  122. # no-with: error
  123. # prefer-promise-reject-errors: off
  124. # radix: error
  125. # require-await: off
  126. # vars-on-top: off
  127. # wrap-iife: error
  128. # yoda: off
  129. # # Strict
  130. # strict: off
  131. # # Variables
  132. # init-declarations: off
  133. # no-catch-shadow: error
  134. # no-delete-var: error
  135. # no-label-var: error
  136. # no-restricted-globals: off
  137. # no-shadow-restricted-names: error
  138. # no-shadow: off
  139. # no-undef-init: error
  140. # no-undef: off
  141. # no-undefined: off
  142. # no-unused-vars:
  143. # - warn
  144. # -
  145. # vars: local
  146. # no-use-before-define: off
  147. # # Node.js and CommonJS
  148. # callback-return: error
  149. # global-require: error
  150. # handle-callback-err: error
  151. # no-mixed-requires: off
  152. # no-new-require: off
  153. # no-path-concat: error
  154. # no-process-env: off
  155. # no-process-exit: error
  156. # no-restricted-modules: off
  157. # no-sync: off
  158. # # Stylistic Issues
  159. # array-bracket-spacing: off
  160. # block-spacing: off
  161. # brace-style: off
  162. # camelcase: off
  163. # capitalized-comments: off
  164. # comma-dangle:
  165. # - error
  166. # - never
  167. # comma-spacing: off
  168. # comma-style: off
  169. # computed-property-spacing: off
  170. # consistent-this: off
  171. # eol-last: off
  172. # func-call-spacing: off
  173. # func-name-matching: off
  174. # func-names: off
  175. # func-style: off
  176. # id-length: off
  177. # id-match: off
  178. # indent: off
  179. # jsx-quotes: off
  180. # key-spacing: off
  181. # keyword-spacing: off
  182. # line-comment-position: off
  183. # linebreak-style:
  184. # - error
  185. # - unix
  186. # lines-around-comment: off
  187. # lines-around-directive: off
  188. # max-depth: off
  189. # max-len: off
  190. # max-nested-callbacks: off
  191. # max-params: off
  192. # max-statements-per-line: off
  193. # max-statements:
  194. # - error
  195. # - 30
  196. # multiline-ternary: off
  197. # new-cap: off
  198. # new-parens: off
  199. # newline-after-var: off
  200. # newline-before-return: off
  201. # newline-per-chained-call: off
  202. # no-array-constructor: off
  203. # no-bitwise: off
  204. # no-continue: off
  205. # no-inline-comments: off
  206. # no-lonely-if: off
  207. # no-mixed-operators: off
  208. # no-mixed-spaces-and-tabs: off
  209. # no-multi-assign: off
  210. # no-multiple-empty-lines: off
  211. # no-negated-condition: off
  212. # no-nested-ternary: off
  213. # no-new-object: off
  214. # no-plusplus: off
  215. # no-restricted-syntax: off
  216. # no-spaced-func: off
  217. # no-tabs: off
  218. # no-ternary: off
  219. # no-trailing-spaces: off
  220. # no-underscore-dangle: off
  221. # no-unneeded-ternary: off
  222. # object-curly-newline: off
  223. # object-curly-spacing: off
  224. # object-property-newline: off
  225. # one-var-declaration-per-line: off
  226. # one-var: off
  227. # operator-assignment: off
  228. # operator-linebreak: off
  229. # padded-blocks: off
  230. # quote-props: off
  231. # quotes:
  232. # - error
  233. # - single
  234. # require-jsdoc: off
  235. # semi-spacing: off
  236. # semi:
  237. # - error
  238. # - always
  239. # sort-keys: off
  240. # sort-vars: off
  241. # space-before-blocks: off
  242. # space-before-function-paren: off
  243. # space-in-parens: off
  244. # space-infix-ops: off
  245. # space-unary-ops: off
  246. # spaced-comment: off
  247. # template-tag-spacing: off
  248. # unicode-bom: off
  249. # wrap-regex: off
  250. # # ECMAScript 6
  251. # arrow-body-style: off
  252. # arrow-parens: off
  253. # arrow-spacing: off
  254. # constructor-super: off
  255. # generator-star-spacing: off
  256. # no-class-assign: off
  257. # no-confusing-arrow: off
  258. # no-const-assign: off
  259. # no-dupe-class-members: off
  260. # no-duplicate-imports: off
  261. # no-new-symbol: off
  262. # no-restricted-imports: off
  263. # no-this-before-super: off
  264. # no-useless-computed-key: off
  265. # no-useless-constructor: off
  266. # no-useless-rename: off
  267. # no-var: off
  268. # object-shorthand: off
  269. # prefer-arrow-callback: off
  270. # prefer-const: off
  271. # prefer-destructuring: off
  272. # prefer-numeric-literals: off
  273. # prefer-rest-params: off
  274. # prefer-reflect: off
  275. # prefer-spread: off
  276. # prefer-template: off
  277. # require-yield: off
  278. # rest-spread-spacing: off
  279. # sort-imports: off
  280. # symbol-description: off
  281. # template-curly-spacing: off
  282. # yield-star-spacing: off