Skip to content

Commit

Permalink
feat: add settings files
Browse files Browse the repository at this point in the history
  • Loading branch information
abdul-alhasany committed Jul 11, 2023
1 parent 25c7cbd commit 71e12d5
Show file tree
Hide file tree
Showing 7 changed files with 4,459 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
/.git
/.vscode
/.github
/vendor
/tests
/node_modules
.package-lock.json
.package.json
.eslintrc
.taqwim.json
composer.josn
composer
.prettierrc
.phpcs.xml
.distignore
.gitignore
.gitignore
phpstan.neon
phpunit.xml
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/node_modules
/node_modules
/vendor
/coverage
37 changes: 37 additions & 0 deletions .taqwim.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"ignore": [
"**/node_modules/**",
"**/vendor/**"
],
"debug": true,
"rules": {
"psr/brace-style": {
"style": "1tbs"
},
"psr/spacing.pair": {
"align": true
},
"psr/spacing.assignment": {
"align": true
},
"psr/indent": {
"type": "tab",
"length": 1
},
"psr/name-case": {
"method": "snake"
},
"psr/line-limit": {
"code": 120
},
"taqwim/max-lines": {
"file": 500,
"class": 500,
"function": 150
},
"taqim/id-length": {
"max": 35
},
"docblock/require": "off"
}
}
18 changes: 18 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"require-dev": {
"phpunit/phpunit": "^10.2",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3",
"pestphp/pest": "^2.8",
"guzzlehttp/guzzle": "^7.0"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"test": "./vendor/bin/pest",
"test:coverage": "./vendor/bin/pest --coverage"
}
}
Loading

0 comments on commit 71e12d5

Please sign in to comment.