mirror of
https://github.com/nextcloud/server.git
synced 2025-05-03 05:20:31 +00:00
38 lines
754 B
JavaScript
38 lines
754 B
JavaScript
module.exports = {
|
|
globals: {
|
|
__webpack_nonce__: true,
|
|
_: true,
|
|
$: true,
|
|
moment: true,
|
|
escapeHTML: true,
|
|
oc_userconfig: true,
|
|
dayNames: true,
|
|
firstDay: true,
|
|
'cypress/globals': true,
|
|
},
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
},
|
|
plugins: [
|
|
'cypress',
|
|
],
|
|
extends: [
|
|
'@nextcloud',
|
|
'plugin:cypress/recommended',
|
|
],
|
|
rules: {
|
|
'no-tabs': 'warn',
|
|
// TODO: make sure we fix this as this is bad vue coding style.
|
|
// Use proper sync modifier
|
|
'vue/no-mutating-props': 'warn',
|
|
'vue/custom-event-name-casing': ['error', 'kebab-case', {
|
|
// allows custom xxxx:xxx events formats
|
|
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
|
|
}],
|
|
},
|
|
settings: {
|
|
jsdoc: {
|
|
mode: 'typescript',
|
|
},
|
|
},
|
|
}
|