summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/.eslintrc.js
blob: 214cccecd84b0e0da0cd17e02242e269492155d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
	env: {
		browser: true,
		es6: true
	},
	globals: {
		t: true,
		n: true,
		OC: true,
		OCA: true
	},
	extends: 'eslint:recommended',
	parserOptions: {
		sourceType: 'module'
	},
	rules: {
		indent: ['error', 'tab'],
		'linebreak-style': ['error', 'unix'],
		quotes: ['error', 'single'],
		semi: ['error', 'always']
	}
};