-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheslint.config.cjs
More file actions
25 lines (24 loc) · 666 Bytes
/
eslint.config.cjs
File metadata and controls
25 lines (24 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const eslint = require('@eslint/js')
const tseslint = require('typescript-eslint')
module.exports = [
// {
// extends: ['@nextcloud'],
// rules: {
// 'jsdoc/require-jsdoc': 'off',
// 'vue/first-attribute-linebreak': 'off',
// },
// },
...tseslint.config(eslint.configs.recommended, ...tseslint.configs.recommended),
{
rules: {
'no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],
},
},
{
ignores: ['node_modules/', 'build/', 'dist/', 'gen/'],
},
]