@brnshkr/config 0.0.1-alpha.13 → 0.0.1-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/dist/eslint/index.d.mts +1184 -1639
- package/dist/eslint/index.mjs +233 -159
- package/dist/scripts/eslint.mjs +2 -4
- package/dist/scripts/stylelint.mjs +2 -4
- package/dist/shared.mjs +76 -241
- package/dist/stylelint/index.d.mts +3 -3
- package/dist/stylelint/index.mjs +85 -59
- package/package.json +74 -90
package/README.md
CHANGED
|
@@ -314,6 +314,7 @@ You can then copy the specific configs to your project:
|
|
|
314
314
|
|
|
315
315
|
```sh
|
|
316
316
|
cp -v ./vendor/brnshkr/config/conf/php-cs-fixer.php.example ./conf/php-cs-fixer.php \
|
|
317
|
+
&& cp -v ./vendor/brnshkr/config/conf/php-cs-fixer.php.example ./conf/php-cs-fixer.php.example \
|
|
317
318
|
&& cp -v ./vendor/brnshkr/config/conf/php-cs-fixer.dist.php.example ./conf/php-cs-fixer.dist.php
|
|
318
319
|
```
|
|
319
320
|
|
|
@@ -322,6 +323,7 @@ cp -v ./vendor/brnshkr/config/conf/php-cs-fixer.php.example ./conf/php-cs-fixer.
|
|
|
322
323
|
|
|
323
324
|
```sh
|
|
324
325
|
cp -v ./vendor/brnshkr/config/conf/rector.php.example ./conf/rector.php \
|
|
326
|
+
&& cp -v ./vendor/brnshkr/config/conf/rector.php.example ./conf/rector.php.example \
|
|
325
327
|
&& cp -v ./vendor/brnshkr/config/conf/rector.dist.php.example ./conf/rector.dist.php
|
|
326
328
|
```
|
|
327
329
|
|
|
@@ -330,6 +332,7 @@ cp -v ./vendor/brnshkr/config/conf/rector.php.example ./conf/rector.php \
|
|
|
330
332
|
|
|
331
333
|
```sh
|
|
332
334
|
cp -v ./vendor/brnshkr/config/conf/phpstan.php.example ./conf/phpstan.php \
|
|
335
|
+
&& cp -v ./vendor/brnshkr/config/conf/phpstan.php.example ./conf/phpstan.php.example \
|
|
333
336
|
&& cp -v ./vendor/brnshkr/config/conf/phpstan.dist.php.example ./conf/phpstan.dist.php
|
|
334
337
|
```
|
|
335
338
|
|
|
@@ -352,10 +355,13 @@ cp -v ./vendor/brnshkr/config/conf/.gitignore.example ./.gitignore
|
|
|
352
355
|
|
|
353
356
|
```sh
|
|
354
357
|
cp -v ./vendor/brnshkr/config/conf/php-cs-fixer.php.example ./conf/php-cs-fixer.php \
|
|
358
|
+
&& cp -v ./vendor/brnshkr/config/conf/php-cs-fixer.php.example ./conf/php-cs-fixer.php.example \
|
|
355
359
|
&& cp -v ./vendor/brnshkr/config/conf/php-cs-fixer.dist.php.example ./conf/php-cs-fixer.dist.php \
|
|
356
360
|
&& cp -v ./vendor/brnshkr/config/conf/rector.php.example ./conf/rector.php \
|
|
361
|
+
&& cp -v ./vendor/brnshkr/config/conf/rector.php.example ./conf/rector.php.example \
|
|
357
362
|
&& cp -v ./vendor/brnshkr/config/conf/rector.dist.php.example ./conf/rector.dist.php \
|
|
358
363
|
&& cp -v ./vendor/brnshkr/config/conf/phpstan.php.example ./conf/phpstan.php \
|
|
364
|
+
&& cp -v ./vendor/brnshkr/config/conf/phpstan.php.example ./conf/phpstan.php.example \
|
|
359
365
|
&& cp -v ./vendor/brnshkr/config/conf/phpstan.dist.php.example ./conf/phpstan.dist.php \
|
|
360
366
|
&& cp -v ./vendor/brnshkr/config/conf/Makefile.example ./Makefile \
|
|
361
367
|
&& cp -v ./vendor/brnshkr/config/conf/.gitignore.example ./.gitignore
|
|
@@ -431,7 +437,7 @@ A few possible ways are listed below:
|
|
|
431
437
|
Example call, adjust as needed
|
|
432
438
|
|
|
433
439
|
```sh
|
|
434
|
-
php ./vendor/bin/php-cs-fixer fix
|
|
440
|
+
php ./vendor/bin/php-cs-fixer fix --config ./conf/php-cs-fixer.php -v --show-progress=dots
|
|
435
441
|
```
|
|
436
442
|
|
|
437
443
|
<!-- omit in toc -->
|
|
@@ -440,7 +446,7 @@ php ./vendor/bin/php-cs-fixer fix -v --show-progress=dots --config ./conf/php-cs
|
|
|
440
446
|
Example call, adjust as needed
|
|
441
447
|
|
|
442
448
|
```sh
|
|
443
|
-
php ./vendor/bin/rector process --config ./conf/rector.php
|
|
449
|
+
php ./vendor/bin/rector process --config ./conf/rector.php --memory-limit=-1
|
|
444
450
|
```
|
|
445
451
|
|
|
446
452
|
<!-- omit in toc -->
|
|
@@ -449,7 +455,7 @@ php ./vendor/bin/rector process --config ./conf/rector.php
|
|
|
449
455
|
Example call, adjust as needed
|
|
450
456
|
|
|
451
457
|
```sh
|
|
452
|
-
php ./vendor/bin/phpstan analyze --
|
|
458
|
+
php ./vendor/bin/phpstan analyze --configuration ./conf/phpstan.php -vv --memory-limit=-1
|
|
453
459
|
```
|
|
454
460
|
|
|
455
461
|
<!-- omit in toc -->
|