Skip to content

Commit

Permalink
chore: add stylelint config
Browse files Browse the repository at this point in the history
  • Loading branch information
kabaros committed May 31, 2024
1 parent 81e5b82 commit dd58c05
Show file tree
Hide file tree
Showing 3 changed files with 357 additions and 684 deletions.
14 changes: 14 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const { config } = require('@dhis2/cli-style')

module.exports = {
extends: [config.stylelint],
rules: {
'csstools/use-logical': [
true,
{
// overriding the default config to error since this should be all fixed in this repo
severity: 'error',
},
],
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"devDependencies": {
"@dhis2/cli-app-scripts": "10.5.0-alpha.2",
"@dhis2/cli-style": "^10.5.1",
"@dhis2/cli-style": "^10.7.3",
"@dhis2/cli-utils-cypress": "^7.0.1",
"@dhis2/cypress-commands": "^7.0.1",
"@testing-library/jest-dom": "^6.1.2",
Expand Down
Loading

0 comments on commit dd58c05

Please sign in to comment.