diff --git a/src/js/adminSettings.js b/src/js/adminSettings.js index 925385794..0752fa630 100644 --- a/src/js/adminSettings.js +++ b/src/js/adminSettings.js @@ -31,9 +31,7 @@ import AdminSettingsPage from './views/AdminSettingsPage.vue' Vue.prototype.t = translate Vue.prototype.n = translatePlural -Vue.config.debug = process.env.NODE_ENV !== 'production' -Vue.config.devTools = process.env.NODE_ENV !== 'production' -// eslint-disable-next-line vue/match-component-file-name +Vue.config.devtools = process.env.NODE_ENV !== 'production' Vue.use(Vuex) diff --git a/src/js/dashboard.js b/src/js/dashboard.js index ae093043f..17a55a5e6 100644 --- a/src/js/dashboard.js +++ b/src/js/dashboard.js @@ -30,8 +30,7 @@ import { translate, translatePlural } from '@nextcloud/l10n' import Dashboard from './views/Dashboard.vue' import './assets/scss/polls-icon.scss' -Vue.config.debug = process.env.NODE_ENV !== 'production' -Vue.config.devTools = process.env.NODE_ENV !== 'production' +Vue.config.devtools = process.env.NODE_ENV !== 'production' Vue.prototype.t = translate Vue.prototype.n = translatePlural diff --git a/src/js/main.js b/src/js/main.js index c92926845..d0f4a6afc 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -35,8 +35,8 @@ import UserItem from './components/User/UserItem.vue' sync(store, router) -Vue.config.debug = import.meta.env.MODE !== 'production' Vue.config.devtools = import.meta.env.MODE !== 'production' + Vue.prototype.t = translate Vue.prototype.n = translatePlural Vue.prototype.getCurrentUser = getCurrentUser diff --git a/src/js/userSettings.js b/src/js/userSettings.js index 4c4b4308c..baf39abd5 100644 --- a/src/js/userSettings.js +++ b/src/js/userSettings.js @@ -31,8 +31,7 @@ import UserSettingsPage from './views/UserSettingsPage.vue' Vue.prototype.t = translate Vue.prototype.n = translatePlural -Vue.config.debug = process.env.NODE_ENV !== 'production' -Vue.config.devTools = process.env.NODE_ENV !== 'production' +Vue.config.devtools = process.env.NODE_ENV !== 'production' Vue.use(Vuex) diff --git a/stylelint.config.cjs b/stylelint.config.cjs index c34850de4..241528e75 100644 --- a/stylelint.config.cjs +++ b/stylelint.config.cjs @@ -1,15 +1,3 @@ const stylelintConfig = require('@nextcloud/stylelint-config') -// const overrides = { -// ignoreFiles: ['**/*.js', '**/*.gif', '**/*.svg'], -// rules: { -// 'rule-empty-line-before': [ -// 'always-multi-line', -// { -// ignore: ['after-comment', 'inside-block'], -// }, -// ], -// }, -// } - -module.exports = { ...stylelintConfig, /* overrides */} +module.exports = { ...stylelintConfig }