Skip to content

Commit

Permalink
First draft.
Browse files Browse the repository at this point in the history
  • Loading branch information
saidatom committed May 23, 2022
0 parents commit ce6b94e
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor
composer.lock
8 changes: 8 additions & 0 deletions .idea/.gitignore

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

8 changes: 8 additions & 0 deletions .idea/dqc.iml

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

8 changes: 8 additions & 0 deletions .idea/modules.xml

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

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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

25 changes: 25 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "saidatom/dcq",
"type": "project",
"description": "DCQ - Drupal Code Quality. Check code quality for Drupal project.",
"homepage": "https://github.com/saidatom/dcq",
"license": "MIT",
"authors": [
{
"name": "Alexandre Dias",
"homepage": "https://www.drupal.org/u/saidatom"
}
],
"require": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"drupal/coder": ">=8.3",
"ergebnis/composer-normalize": ">=2.5",
"php-parallel-lint/php-parallel-lint": ">=1.0",
"phpro/grumphp-shim": ">=1.12",
"sebastian/phpcpd": ">=4.0"
},
"support": {
"issues": "https://github.com/saidatom/dcq/issues",
"source": "https://github.com/saidatom/dcq"
}
}
32 changes: 32 additions & 0 deletions grumphp.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
grumphp:
ascii:
failed: vendor/saidatom/dcq/resources/ascii/failed.txt
succeeded: vendor/saidatom/dcq/resources/ascii/succeeded.txt
tasks:
phplint: ~
yamllint: ~
composer: ~
composer_normalize: ~
jsonlint: ~
phpcpd:
directory: ['./src']
phpcs:
standard: Drupal
ignore_patterns:
- .github
- .gitlab
- bower_components
- node_modules
- vendor
triggered_by:
- php
- module
- inc
- install
- test
- profile
- theme
- css
- info
- txt
- md
3 changes: 3 additions & 0 deletions resources/ascii/failed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_
_|_ _.o| _ _|
| (_|||(/(_|
3 changes: 3 additions & 0 deletions resources/ascii/succeeded.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

_ _ _ _ _ _|_ _|
_>|_(_(_(/(/(_(/(_|

0 comments on commit ce6b94e

Please sign in to comment.