Merge branch 'autoformat-json-and-scss' into 'master'

Autoformat json and scss

See merge request dungeonslayers/ds4!11
This commit is contained in:
Johannes Loher 2020-12-30 23:09:01 +01:00
commit 7f98d581b6
2 changed files with 5 additions and 4 deletions

View file

@ -11,7 +11,8 @@
"clean": "gulp clean && gulp link --clean", "clean": "gulp clean && gulp link --clean",
"update": "npm install --save-dev git+https://git.f3l.de/dungeonslayers/foundry-pc-types.git#f3l-fixes", "update": "npm install --save-dev git+https://git.f3l.de/dungeonslayers/foundry-pc-types.git#f3l-fixes",
"lint": "eslint 'src/**/*.ts' --cache", "lint": "eslint 'src/**/*.ts' --cache",
"lint:fix": "eslint 'src/**/*.ts' --cache --fix" "lint:fix": "eslint 'src/**/*.ts' --cache --fix",
"format": "prettier --write 'src/**/*.(ts|json|scss)'"
}, },
"author": "", "author": "",
"license": "", "license": "",
@ -44,6 +45,7 @@
} }
}, },
"lint-staged": { "lint-staged": {
"*.ts": "eslint --cache --fix" "*.ts": "eslint --cache --fix",
"*.(json|scss)": "prettier --write"
} }
} }

View file

@ -51,7 +51,6 @@
margin-top: 0px; margin-top: 0px;
padding-top: 0px; padding-top: 0px;
} }
} }
} }
@ -61,4 +60,4 @@
padding-left: 1em; padding-left: 1em;
border-bottom: 2px groove $c-border-groove; border-bottom: 2px groove $c-border-groove;
font-weight: bold; font-weight: bold;
} }