Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .vscode/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
5 changes: 5 additions & 0 deletions .vscode/.prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
trailingComma: "all"
tabWidth: 2
semi: true
singleQuote: true
printWidth: 150
11 changes: 11 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"recommendations": [
"christian-kohler.path-intellisense",
"ms-python.python",
"2gua.rainbow-brackets",
"esbenp.prettier-vscode",
"eamodio.gitlens",
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint"
]
}
17 changes: 17 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"prettier.configPath": ".vscode/.prettierrc.yaml",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"eslint.packageManager": "yarn",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
24 changes: 12 additions & 12 deletions polydodo/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const gulp = require("gulp");
const gap = require("gulp-append-prepend");
const gulp = require('gulp');
const gap = require('gulp-append-prepend');

gulp.task("licenses", async function() {
gulp.task('licenses', async function () {
// this is to add Creative Tim licenses in the production mode for the minified js
await gulp
.src("build/static/js/*chunk.js", { base: "./" })
.src('build/static/js/*chunk.js', { base: './' })
.pipe(
gap.prependText(`/*!

Expand All @@ -22,13 +22,13 @@ gulp.task("licenses", async function() {

* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

*/`)
*/`),
)
.pipe(gulp.dest("./", { overwrite: true }));
.pipe(gulp.dest('./', { overwrite: true }));

// this is to add Creative Tim licenses in the production mode for the minified html
await gulp
.src("build/index.html", { base: "./" })
.src('build/index.html', { base: './' })
.pipe(
gap.prependText(`<!--

Expand All @@ -46,13 +46,13 @@ gulp.task("licenses", async function() {

* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

-->`)
-->`),
)
.pipe(gulp.dest("./", { overwrite: true }));
.pipe(gulp.dest('./', { overwrite: true }));

// this is to add Creative Tim licenses in the production mode for the minified css
await gulp
.src("build/static/css/*chunk.css", { base: "./" })
.src('build/static/css/*chunk.css', { base: './' })
.pipe(
gap.prependText(`/*!

Expand All @@ -70,8 +70,8 @@ gulp.task("licenses", async function() {

* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

*/`)
*/`),
)
.pipe(gulp.dest("./", { overwrite: true }));
.pipe(gulp.dest('./', { overwrite: true }));
return;
});
Loading