Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.eslintrc.js - github.com/nextcloud/contacts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9481cf873a01d0dea6082f1f447010a9c869b04 (plain)
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
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',
			},
		},
	},

	rules: {
		'vue/no-reserved-component-names': 'off', // @nextcloud/vue has Button, Content components restricted by rule
	},
}