Skip to content

Commit

Permalink
chore: Use @cloudscape-design/build-tools stylelint rules (#24)
Browse files Browse the repository at this point in the history
* chore: Use @cloudscape-design/build-tools stylelint rules and lint project

* Add config to lint-staged
  • Loading branch information
michaeldowseza authored Oct 11, 2024
1 parent d7a5ffc commit ea82360
Show file tree
Hide file tree
Showing 8 changed files with 1,504 additions and 31 deletions.
20 changes: 20 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": ["stylelint-config-recommended-scss", "stylelint-prettier/recommended"],
"rules": {
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global"
]
}
],
"@cloudscape-design/license-headers": [
true,
{
"header": "\n Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n SPDX-License-Identifier: Apache-2.0\n"
}
]
},
"plugins": ["@cloudscape-design/build-tools/stylelint"]
}
Loading

0 comments on commit ea82360

Please sign in to comment.