Skip to content

Commit

Permalink
FCL-223 | use ds caselaw frontend stylelint config
Browse files Browse the repository at this point in the history
  • Loading branch information
jlhdxw committed Oct 21, 2024
1 parent fb76780 commit c71814d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"webpack-cli": "^5.0.0"
},
"dependencies": {
"@nationalarchives/ds-caselaw-frontend": "github:nationalarchives/ds-caselaw-frontend#v2.0.6",
"@nationalarchives/ds-caselaw-frontend": "github:nationalarchives/ds-caselaw-frontend#v2.0.7",
"nodemon": "^3.0.3",
"sass": "^1.58.3"
}
Expand Down
16 changes: 1 addition & 15 deletions stylelint.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
module.exports = {
extends: [
"stylelint-config-standard-scss",
"stylelint-config-clean-order/error",
],
rules: {
"selector-class-pattern": [
"^[a-z]([-]?[a-z0-9]+)*(__[a-z0-9]([-]?[a-z0-9]+)*)?(--[a-z0-9]([-]?[a-z0-9]+)*)?$",
{
resolveNestedSelectors: true,
message: function expected(selectorValue) {
return `Expected class selector "${selectorValue}" to match BEM CSS pattern.`;
},
},
],
},
extends: ["@nationalarchives/ds-caselaw-frontend/stylelint.config.js"],
};

0 comments on commit c71814d

Please sign in to comment.