Skip to content

Commit

Permalink
PM-46464 moved package.json for CSS linting tools to development fold…
Browse files Browse the repository at this point in the history
…er...

...because the Moodle CI packages do some weird shit, installing the node deps and packaging it into the module, then trying to lint the dependencies and failing...
  • Loading branch information
mk-kialo committed Aug 28, 2024
1 parent 9d10642 commit 0ab5ef9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vendor/*

## JavaScript

node_modules/
development/node_modules/

## IDEA

Expand Down
3 changes: 2 additions & 1 deletion .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
4 changes: 2 additions & 2 deletions package.json → development/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"stylelint-prettier": "4.1.0"
},
"scripts": {
"css:format": "prettier --write styles.css",
"css:lint": "stylelint styles.css"
"css:format": "./node_modules/.bin/prettier --write ../styles.css",
"css:lint": "./node_modules/.bin/stylelint ../styles.css"
}
}

0 comments on commit 0ab5ef9

Please sign in to comment.