Commit f7277652 authored by schneider210's avatar schneider210
Browse files

style: just syntax fixes according to linter

parent c42cf023
// Configuration for your app
// https://quasar.dev/quasar-cli/quasar-conf-js
const path = require('path')
const path = require('path');
module.exports = function (ctx) {
// eslint-disable-next-line func-names
module.exports = function () {
return {
// app boot file (/src/boot)
// --> boot files are part of "main.js"
......@@ -14,7 +15,7 @@ module.exports = function (ctx) {
// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-css
css: [
'style.scss'
'style.scss',
],
// https://github.com/quasarframework/quasar/tree/dev/extras
......@@ -43,11 +44,11 @@ module.exports = function (ctx) {
brand: {
primary: '#212121',
secondary: '#eee',
accent: '#1a3771'
accent: '#1a3771',
},
notify: {
color: 'gray'
}
color: 'gray',
},
},
iconSet: 'fontawesome-v5',
......@@ -56,12 +57,12 @@ module.exports = function (ctx) {
// Quasar plugins
plugins: [
'Notify'
]
'Notify',
],
},
htmlVariables: {
title: 'TIDO'
title: 'TIDO',
},
// https://quasar.dev/quasar-cli/cli-documentation/supporting-ie
......@@ -85,34 +86,31 @@ module.exports = function (ctx) {
extractCSS: false,
// https://quasar.dev/quasar-cli/cli-documentation/handling-webpack
extendWebpack (cfg) {
extendWebpack(cfg) {
cfg.output = {
filename: '[name].js',
},
};
cfg.resolve.alias = {
...cfg.resolve.alias, // This adds the existing alias
'@': path.resolve(__dirname, './src/'),
},
cfg.module.rules.push(
{
};
cfg.module.rules.push({
enforce: 'pre',
exclude: /node_modules/,
loader: 'eslint-loader',
options: {
formatter: require('eslint').CLIEngine.getFormatter('stylish')
formatter: require('eslint').CLIEngine.getFormatter('stylish'),
},
test: /\.(js|vue)$/,
});
},
test: /\.(js|vue)$/
}
)
}
},
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
devServer: {
https: false,
port: 8080,
open: false // opens browser window automatically
open: false, // opens browser window automatically
},
vendor: {
......@@ -125,7 +123,7 @@ module.exports = function (ctx) {
// https://quasar.dev/quasar-cli/developing-ssr/configuring-ssr
ssr: {
pwa: false
pwa: false,
},
// https://quasar.dev/quasar-cli/developing-pwa/configuring-pwa
......@@ -144,30 +142,30 @@ module.exports = function (ctx) {
{
src: 'icons/icon-128x128.png',
sizes: '128x128',
type: 'image/png'
type: 'image/png',
},
{
src: 'icons/icon-192x192.png',
sizes: '192x192',
type: 'image/png'
type: 'image/png',
},
{
src: 'icons/icon-256x256.png',
sizes: '256x256',
type: 'image/png'
type: 'image/png',
},
{
src: 'icons/icon-384x384.png',
sizes: '384x384',
type: 'image/png'
type: 'image/png',
},
{
src: 'icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png'
}
]
}
type: 'image/png',
},
],
},
},
// Full list of options: https://quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
......@@ -177,7 +175,7 @@ module.exports = function (ctx) {
// Full list of options: https://quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
capacitor: {
hideSplashscreen: true
hideSplashscreen: true,
},
// Full list of options: https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
......@@ -200,16 +198,16 @@ module.exports = function (ctx) {
builder: {
// https://www.electron.build/configuration/configuration
appId: 'q-app'
appId: 'q-app',
},
// More info: https://quasar.dev/quasar-cli/developing-electron-apps/node-integration
nodeIntegration: true,
extendWebpack (cfg) {
extendWebpack() {
// do something with Electron main process Webpack cfg
// chainWebpack also available besides this extendWebpack
}
}
}
}
},
},
};
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment