Commit f7277652 authored by schneider210's avatar schneider210
Browse files

style: just syntax fixes according to linter

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