From 9bcb6e4659439204563acd6a9bd71e2c2c7ccc25 Mon Sep 17 00:00:00 2001 From: Mathias Kahl Date: Wed, 28 Aug 2024 13:07:03 +0200 Subject: [PATCH] PM-46464 CSS linting and formatting Note that the stylelint rules are copied from the moodle CS/CI repos to adhere to the same standards. These are all based on non-quite up-to-date versions of the tools, so that's intentional. --- .gitignore | 4 + .idea/codeStyles/Project.xml | 84 + .idea/codeStyles/codeStyleConfig.xml | 3 +- .idea/inspectionProfiles/Project_Default.xml | 1 + .idea/mod_kialo.iml | 421 +--- .idea/prettier.xml | 8 + .prettierrc | 4 + .stylelintrc | 110 + package-lock.json | 2225 ++++++++++++++++++ package.json | 16 + styles.css | 27 +- 11 files changed, 2475 insertions(+), 428 deletions(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/prettier.xml create mode 100644 .prettierrc create mode 100644 .stylelintrc create mode 100644 package-lock.json create mode 100644 package.json diff --git a/.gitignore b/.gitignore index 4cf54f0..4a3b8bf 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,10 @@ vendor/* .php-cs-fixer.cache +## JavaScript + +node_modules/ + ## IDEA # User-specific stuff diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..03b5838 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,84 @@ + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml index 96d8fd8..d1ba1de 100644 --- a/.idea/codeStyles/codeStyleConfig.xml +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -1,5 +1,6 @@ + - \ No newline at end of file + diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 75e3d76..fab21b2 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -22,5 +22,6 @@