diff --git a/.prettierrc.js b/.prettierrc.js index eaaa2db473..5cf69113b6 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -18,6 +18,7 @@ module.exports = { { files: '*.scss', options: { + printWidth: 120, singleQuote: false } } diff --git a/package.json b/package.json index c7146fb9e1..77c7512f6c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "lint:editorconfig": "editorconfig-checker", "lint:html": "html-validate \"deploy/public/**/index.html\"", "lint:js": "eslint --cache --cache-location .cache/eslint --cache-strategy content --color --ignore-path .gitignore \"**/*.{cjs,js,mjs}\"", - "lint:prettier": "prettier --cache --cache-location .cache/prettier --cache-strategy content --check \"**/*.{json,md,yaml,yml}\"", + "lint:prettier": "prettier --cache --cache-location .cache/prettier --cache-strategy content --check \"**/*.{json,md,scss,yaml,yml}\"", "lint:scss": "stylelint \"**/*.scss\"", "check-links": "hyperlink --canonicalroot https://design-system.service.gov.uk/ --internal --recursive --source-maps deploy/public/sitemap.xml | tap-mocha-reporter min" },