Skip to content
Snippets Groups Projects
Commit cc3fef59 authored by danielspeicher's avatar danielspeicher
Browse files

Document Drupal Development Env: composer/plugin/drupal-development-environment#1

parent 3a22e1b3
No related branches found
No related tags found
1 merge request!7Develop
......@@ -20,5 +20,5 @@ It provides a massive amount of testing tools, which can be executed out of the
- [PHP LOC](../../../dev_tools/test.md#php-loc)
- [PHP Mess Detection](../../../dev_tools/test.md#php-mess-detection)
- [PHP Metrics](../../../dev_tools/test.md#php-metrics)
- [PHP Stylelint](../../../dev_tools/test.md#php-code-sniffer)
- [Eslint](../../../dev_tools/test.md#php-code-sniffer)
- [Stylelint](../../../dev_tools/test.md#stylelint)
- [Eslint](../../../dev_tools/test.md#es-lint)
......@@ -46,10 +46,10 @@ We have several tools to perform static code analysis.
- [PHP PHPStan](#php-stan)
- [PHP Lint](#php-lint)
- [PHP LOC](#php-loc)
- [PHP Mess Detection](../../../dev_tools/test.md#php-mess-detection)
- [PHP Mess Detection](#php-mess-detection)
- [PHP Metrics](#php-metrics)
- [PHP Stylelint](../../../dev_tools/test.md#php-code-sniffer)
- [Eslint](../../../dev_tools/test.md#php-code-sniffer)
- [Stylelint](#stylelint)
- [Eslint](#es-lint)
### PHP Code Sniffer
......@@ -205,6 +205,24 @@ If you want to analyse a custom module, just do the following:
a test phpmetricsmodule ../custom/<custom_module>
```
### Stylelint
With `Stylelint` you can test and analyse `css` file in your module.
You first have to install and set up the toll with the following command:
```style
a test stylelintprepare
```
Now all you need is installed and set up. Execute the following command to run the test:
```style
a test stylelintmodule <contrib_module>
```
### ES Lint
## Unit/Kernel/Functional Testing
To execute the tests, you can use a single command:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment