summaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
blob: 0315c64d760e2796e0fe65e60809303e6bade407 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module.exports = {
	globals: {
		__webpack_nonce__: true,
		__webpack_public_path__: true,
		_: true,
		$: true,
		moment: true,
		escapeHTML: true,
		oc_userconfig: true,
		dayNames: true,
		firstDay: true
	},
	extends: ['@nextcloud'],
	rules: {
		'no-tabs': 'warn',
	}
}
atch # Linting lint-fix: npm run lint:fix lint-fix-watch: npm run lint:fix-watch # Cleaning clean: rm -rf apps/accessibility/js/ rm -rf apps/comments/js/ rm -rf apps/dashboard/js/ rm -rf apps/dav/js/ rm -rf apps/files/js/dist/ rm -rf apps/files_sharing/js/dist/ rm -rf apps/files_trashbin/js/ rm -rf apps/files_versions/js/ rm -rf apps/oauth2/js/ rm -rf apps/settings/js/vue-* rm -rf apps/systemtags/js/systemtags.* rm -rf apps/twofactor_backupcodes/js rm -rf apps/updatenotification/js/updatenotification.* rm -rf apps/user_status/js/ rm -rf apps/weather_status/js/ rm -rf apps/workflowengine/js/ rm -rf core/js/dist clean-git: clean git checkout -- apps/accessibility/js/ git checkout -- apps/comments/js/ git checkout -- apps/dashboard/js/ git checkout -- apps/dav/js/ git checkout -- apps/files/js/dist/ git checkout -- apps/files_sharing/js/dist/ git checkout -- apps/files_trashbin/js/ git checkout -- apps/files_versions/js/ git checkout -- apps/oauth2/js/ git checkout -- apps/settings/js/vue-* git checkout -- apps/systemtags/js/systemtags.* git checkout -- apps/twofactor_backupcodes/js git checkout -- apps/updatenotification/js/updatenotification.* git checkout -- apps/user_status/js/ git checkout -- apps/weather_status/js/ git checkout -- apps/workflowengine/js/ git checkout -- core/js/dist