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 30, 2024
1 parent bc70842 commit 699ef59
Show file tree
Hide file tree
Showing 3 changed files with 397 additions and 8 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',
},
],
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@dhis2/cli-app-scripts": "10.5.0-alpha.2",
"@dhis2/cli-style": "^10.5.1",
"@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 Down
Loading

0 comments on commit 699ef59

Please sign in to comment.