2019-10-11 00:58:52 +03:00
|
|
|
module.exports = {
|
2020-11-15 20:34:38 +03:00
|
|
|
globals: {
|
|
|
|
appVersion: true
|
|
|
|
},
|
2021-06-29 17:10:34 +03:00
|
|
|
parserOptions: {
|
|
|
|
requireConfigFile: false
|
|
|
|
},
|
2020-11-15 20:34:38 +03:00
|
|
|
extends: [
|
|
|
|
'@nextcloud'
|
2021-08-23 19:18:58 +03:00
|
|
|
],
|
|
|
|
rules: {
|
2022-03-24 17:34:26 +03:00
|
|
|
'no-restricted-properties': [
|
|
|
|
'error',
|
|
|
|
{ property: 'substr', message: 'Use .slice instead of .substr.' },
|
|
|
|
],
|
2021-08-23 19:18:58 +03:00
|
|
|
'jsdoc/require-jsdoc': 'off',
|
2022-03-14 15:48:26 +03:00
|
|
|
'jsdoc/tag-lines': 'off',
|
|
|
|
'vue/first-attribute-linebreak': 'off'
|
2021-08-23 19:18:58 +03:00
|
|
|
}
|
2020-11-15 20:34:38 +03:00
|
|
|
}
|