Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-07-04 18:26:46 +0300
committerJulius Härtl <jus@bitgrid.net>2019-07-16 08:39:16 +0300
commit15827ddba53b4389ffdb9504a02d32f90b204a96 (patch)
tree2214220534d12c998676c47fb2d4ba3cad5d6620 /.eslintrc.js
parenteee488d611f0832ada940a4f871ebd6a4c477d56 (diff)
Convert and fix codestyle issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 060255fa..b5b8d22f 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -11,6 +11,8 @@ module.exports = {
n: true,
OC: true,
OCA: true,
+ '$': true,
+ '_': true,
Vue: true,
VueRouter: true
},
@@ -27,6 +29,12 @@ module.exports = {
],
plugins: ['vue', 'node'],
rules: {
+ // TODO: remove when all fixed
+ 'no-unused-vars': 'warn',
+ 'no-mixed-operators': 'warn',
+ 'camelcase': 'warn',
+ 'no-global-assign': 'warn',
+
// space before function ()
'space-before-function-paren': ['error', 'never'],
// curly braces always space