summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
blob: 29134f1da49d5f5e7cd2daea1a0cf93e36db42b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
	globals: {
		appName: true,
		appVersion: true,
	},

	plugins: ['import'],
	extends: ['@nextcloud'],

	settings: {
		'import/parsers': {
			'@typescript-eslint/parser': ['.ts', '.tsx'],
		},
		'import/resolver': {
			typescript: {
				alwaysTryTypes: true,
				paths: './tsconfig.json',
			},
		},
	},
}