update eslint-plugin-nextcloud
This commit is contained in:
Родитель
d03477efe8
Коммит
c2c43e7c0a
12
.eslintrc.js
12
.eslintrc.js
|
@ -7,12 +7,6 @@ module.exports = {
|
|||
jest: true
|
||||
},
|
||||
globals: {
|
||||
t: true,
|
||||
n: true,
|
||||
OC: true,
|
||||
OCA: true,
|
||||
Vue: true,
|
||||
VueRouter: true,
|
||||
SCOPE_VERSION: true
|
||||
},
|
||||
parserOptions: {
|
||||
|
@ -24,10 +18,10 @@ module.exports = {
|
|||
'plugin:node/recommended',
|
||||
'plugin:vue/essential',
|
||||
'plugin:vue/recommended',
|
||||
'plugin:nextcloud/recommended',
|
||||
'standard'
|
||||
],
|
||||
plugins: [
|
||||
'nextcloud',
|
||||
'node',
|
||||
'vue',
|
||||
],
|
||||
|
@ -52,10 +46,6 @@ module.exports = {
|
|||
'operator-linebreak': ['error', 'before'],
|
||||
// ternary on multiline
|
||||
'multiline-ternary': ['error', 'always-multiline'],
|
||||
// Nextcloud deprecations
|
||||
'nextcloud/no-deprecations': 'warn',
|
||||
// don't allow removed APIs
|
||||
'nextcloud/no-removed-apis': 'error',
|
||||
// es6 import/export and require
|
||||
'node/no-unpublished-require': ['off'],
|
||||
'node/no-unsupported-features/es-syntax': ['off'],
|
||||
|
|
|
@ -7082,7 +7082,7 @@
|
|||
},
|
||||
"parse-asn1": {
|
||||
"version": "5.1.4",
|
||||
"resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz",
|
||||
"resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz",
|
||||
"integrity": "sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
"eslint-config-standard": "^12.0.0",
|
||||
"eslint-loader": "^2.1.2",
|
||||
"eslint-plugin-import": "^2.16.0",
|
||||
"eslint-plugin-nextcloud": "^0.1.0",
|
||||
"eslint-plugin-nextcloud": "^0.1.1",
|
||||
"eslint-plugin-node": "^9.0.1",
|
||||
"eslint-plugin-promise": "^4.0.1",
|
||||
"eslint-plugin-standard": "^4.0.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче