nextcloud-notes/.eslintrc.js

17 lines
445 B
JavaScript
Raw Permalink Normal View History

2019-05-22 21:40:03 +02:00
module.exports = {
extends: [
2020-02-11 18:05:50 +01:00
'@nextcloud',
2019-05-22 21:40:03 +02:00
],
rules: {
// no ending html tag on a new line (was warn in "vue/strongly-recommended")
2020-02-19 21:35:19 +01:00
'vue/html-closing-bracket-newline': ['error', { multiline: 'always' }],
2021-12-05 20:29:49 +01:00
// do not require JSDoc comments
'jsdoc/require-jsdoc': 'off',
// allow first attribute in new line if multiline
'vue/first-attribute-linebreak': ['error', {
'singleline': 'beside',
'multiline': 'ignore',
}],
2019-05-22 21:40:03 +02:00
},
}