diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 37 |
1 files changed, 3 insertions, 34 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 538c022..ecc6f1d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,37 +1,6 @@ module.exports = { - root: true, - env: { - node: true, - amd: true, - mocha: true, - }, - plugins: [ - 'nextcloud', - ], extends: [ - 'plugin:vue/recommended', - 'plugin:prettier/recommended', - 'prettier/vue', - 'eslint:recommended', + '@nextcloud', + 'plugin:chai-friendly/recommended' ], - rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-unused-vars': 'off', - 'vue/no-v-html': 'off', - 'no-case-declarations': 'off', - 'nextcloud/no-deprecations': 'warn', - 'nextcloud/no-removed-apis': 'error', - }, - parserOptions: { - parser: 'babel-eslint', - }, - globals: { - expect: true, - OC: true, - OCA: true, - t: true, - __webpack_public_path__: true, - __webpack_nonce__: true, - } -} +}
\ No newline at end of file |