diff --git a/package.json b/package.json index 72d08d40..0fcfe500 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build:package": "./tasks/build-package.sh", "compile:sass": "sass --style=compressed --embed-sources src/nationalarchives:package/nationalarchives", "compile:scripts": "webpack", - "lint:fix": "prettier --write '{src,.storybook,tasks,.}/**/*.{js,mjs,scss,json,html}' && stylelint --fix 'lax' 'src/**/*.scss' && eslint --fix 'src/**/*.{js,mjs}'", + "lint:fix": "prettier --write '{src,.storybook,tasks,.}/**/*.{js,mjs,scss,json,html}' && stylelint --fix 'strict' 'src/**/*.scss' && eslint --fix 'src/**/*.{js,mjs}'", "test:all": "npm run test:lint && npm run test:unit && npm run test:html && npm run test:fixtures && npm run test:storybook && npm run build:package && npm run test:package", "test:fixtures": "node tasks/test-fixtures.js", "test:html": "node tasks/generate-fixture-html.js && html-validate fixtures-html",