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 Jun 3, 2024
1 parent 5b21df6 commit da932a3
Show file tree
Hide file tree
Showing 4 changed files with 369 additions and 197 deletions.
13 changes: 13 additions & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const { config } = require('@dhis2/cli-style')

module.exports = {
extends: [config.stylelint],
rules: {
'csstools/use-logical': [
true,
{
severity: 'error',
},
],
},
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"cy:run": "start-server-and-test 'yarn start:nobrowser' http://localhost:3000 'yarn cypress run --browser chrome headless --env networkMode=live'"
},
"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/cypress-commands": "^10.0.3",
"@dhis2/cypress-plugins": "^10.0.2",
"@reportportal/agent-js-cypress": "git+https://github.com/dhis2/agent-js-cypress.git#develop",
Expand All @@ -41,7 +41,7 @@
},
"dependencies": {
"@dhis2/analytics": "^26.6.10",
"@dhis2/app-runtime": "^3.7.0",
"@dhis2/app-runtime": "^3.10.4",
"@dhis2/app-runtime-adapter-d2": "^1.1.0",
"@dhis2/app-service-datastore": "^1.0.0-beta.3",
"@dhis2/d2-i18n": "^1.1.0",
Expand All @@ -67,6 +67,6 @@
"whatwg-fetch": "^3.6.2"
},
"resolutions": {
"@dhis2/ui": "^9.2.0"
"@dhis2/ui": "^9.4.4"
}
}
67 changes: 0 additions & 67 deletions src/components/Layout/styles/Chip.style.js

This file was deleted.

Loading

0 comments on commit da932a3

Please sign in to comment.