diff --git a/app-main/.prettierrc b/app-main/.prettierrc index 3d5eb71..4a68350 100644 --- a/app-main/.prettierrc +++ b/app-main/.prettierrc @@ -1,5 +1,22 @@ { "printWidth": 80, "singleQuote": false, - "tabWidth": 2 + "tabWidth": 2, + "useTabs": false, + "overrides": [ + { + "files": "*.html", + "options": { + "useTabs": true, + "singleQuote": false + } + }, + { + "files": "*.js", + "options": { + "useTabs": false, + "singleQuote": true + } + } + ] } diff --git a/app-main/babel.config.cjs b/app-main/babel.config.cjs index 8283743..24d5e76 100644 --- a/app-main/babel.config.cjs +++ b/app-main/babel.config.cjs @@ -1,3 +1,3 @@ module.exports = { - presets: [['@babel/preset-env', {targets: {node: 'current'}}]], + presets: [["@babel/preset-env", { targets: { node: "current" } }]], }; diff --git a/app-main/gulpfile.js b/app-main/gulpfile.js index 3efc06f..3a8cbec 100644 --- a/app-main/gulpfile.js +++ b/app-main/gulpfile.js @@ -1,16 +1,18 @@ var gulp = require('gulp'); var concat = require('gulp-concat'); -gulp.task('pack-js', function() { - return gulp.src(['public/js/index.js']) - .pipe(concat('bundle.js')) - .pipe(gulp.dest('public/build/js')) +gulp.task('pack-js', function () { + return gulp + .src(['public/js/index.js']) + .pipe(concat('bundle.js')) + .pipe(gulp.dest('public/build/js')); }); -gulp.task('pack-css', function() { - return gulp.src(['public/css/style.css']) - .pipe(concat('stylesheet.css')) - .pipe(gulp.dest('public/build/css')) +gulp.task('pack-css', function () { + return gulp + .src(['public/css/style.css']) + .pipe(concat('stylesheet.css')) + .pipe(gulp.dest('public/build/css')); }); -gulp.task('default', gulp.series(['pack-js', 'pack-css'])); \ No newline at end of file +gulp.task('default', gulp.series(['pack-js', 'pack-css'])); diff --git a/app-main/public/404.html b/app-main/public/404.html index fb19cc7..e9433bf 100644 --- a/app-main/public/404.html +++ b/app-main/public/404.html @@ -5,16 +5,10 @@