mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 13:55:42 +03:00
f34726a4b9
Most of the work was done by `eslint --fix`, I fixed around 10 cases where it could not auto-convert.
27 lines
450 B
Text
27 lines
450 B
Text
root: true
|
|
|
|
extends:
|
|
- eslint:recommended
|
|
|
|
parserOptions:
|
|
ecmaVersion: 2015
|
|
|
|
env:
|
|
browser: true
|
|
jquery: true
|
|
es6: true
|
|
|
|
globals:
|
|
Clipboard: false
|
|
CodeMirror: false
|
|
emojify: false
|
|
SimpleMDE: false
|
|
Vue: false
|
|
Dropzone: false
|
|
u2fApi: false
|
|
hljs: false
|
|
|
|
rules:
|
|
no-unused-vars: [error, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, ignoreRestSiblings: true}]
|
|
prefer-const: [2, {destructuring: all}]
|
|
no-var: [2]
|