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 da03e77
Show file tree
Hide file tree
Showing 3 changed files with 410 additions and 737 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',
},
],
},
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "BSD-3-Clause",
"dependencies": {
"@dhis2/analytics": "^26.6.10",
"@dhis2/app-runtime": "^3.10.2",
"@dhis2/app-runtime": "^3.10.4",
"@dhis2/app-runtime-adapter-d2": "^1.1.0",
"@dhis2/d2-i18n": "^1.1.3",
"@dhis2/d2-ui-rich-text": "^7.4.3",
Expand Down Expand Up @@ -44,8 +44,8 @@
"cy:run": "d2-utils-cypress run --appStart 'yarn cypress:start'"
},
"devDependencies": {
"@dhis2/cli-app-scripts": "10.5.0-alpha.2",
"@dhis2/cli-style": "^10.5.1",
"@dhis2/cli-app-scripts": "^11.3.0",
"@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 da03e77

Please sign in to comment.