diff --git a/package.json b/package.json index 7099f55d..52a60eab 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "clean": "gulp clean && gulp link --clean", "update": "npm install --save-dev git+https://git.f3l.de/dungeonslayers/foundry-pc-types.git#f3l-fixes", "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": "", "license": "", @@ -44,6 +45,7 @@ } }, "lint-staged": { - "*.ts": "eslint --cache --fix" + "*.ts": "eslint --cache --fix", + "*.(json|scss)": "prettier --write" } } diff --git a/src/scss/components/_items.scss b/src/scss/components/_items.scss index d35a84a5..3f089ca3 100644 --- a/src/scss/components/_items.scss +++ b/src/scss/components/_items.scss @@ -51,7 +51,6 @@ margin-top: 0px; padding-top: 0px; } - } } @@ -61,4 +60,4 @@ padding-left: 1em; border-bottom: 2px groove $c-border-groove; font-weight: bold; -} \ No newline at end of file +}