-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Sass compilation and add a test (#222)
Fixes Sass compilation for npm, yarn classic, and yarn modern - as well as adding a test for all 3
- Loading branch information
Drainpipe Bot
committed
Jul 5, 2023
1 parent
6670272
commit 26ae025
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?xml version="1.0"?> | ||
<ruleset> | ||
<description>PHP_CodeSniffer Standards</description> | ||
|
||
<!-- Use colors in output. --> | ||
<arg name="colors"/> | ||
<!-- Show progress. --> | ||
<arg value="p"/> | ||
|
||
<!-- Add Drupal specific PHP file extensions --> | ||
<arg name="extensions" value="php,inc,module,theme,install"/> | ||
|
||
<!-- Include common Drupal standards. --> | ||
<rule ref="./vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml"/> | ||
<rule ref="./vendor/drupal/coder/coder_sniffer/DrupalPractice/ruleset.xml"/> | ||
|
||
|
||
<!-- Apply same exclusions for T function applied by core. --> | ||
<rule ref="Drupal.Semantics.FunctionT"> | ||
<exclude name="Drupal.Semantics.FunctionT.NotLiteralString"/> | ||
</rule> | ||
|
||
<file>web/modules/custom</file> | ||
<file>web/themes/custom</file> | ||
<file>web/sites</file> | ||
|
||
<!-- Exclude JS and CSS, this is covered by yarn scripts --> | ||
<exclude-pattern>**/*.js</exclude-pattern> | ||
<exclude-pattern>**/*.css</exclude-pattern> | ||
<!-- Autogenerated Drupal files --> | ||
<exclude-pattern>*/default.settings.php</exclude-pattern> | ||
<exclude-pattern>*/sites/*/files/*</exclude-pattern> | ||
<exclude-pattern>*/settings.ddev.php</exclude-pattern> | ||
<exclude-pattern>*/sites/simpletest/*</exclude-pattern> | ||
<exclude-pattern>*/node_modules/*</exclude-pattern> | ||
</ruleset> |