/mc

Primary LanguageShellMIT LicenseMIT

MC

Esse repositório contêm minhas configurações compartilhadas entre os projetos

PHPStan

Para usar as configurações instale os pacotes abaixo:

Instalando o PHPStan

composer require --dev phpstan/phpstan
composer require --dev phpstan/extension-installer
composer require --dev phpstan/phpstan-deprecation-rules
composer require --dev phpstan/phpstan-strict-rules

Libs da comunidade

Disallowed calls for PHPStan

composer require --dev spaze/phpstan-disallowed-calls

Symplify Rules

composer require --dev symplify/phpstan-rules

TheCodingMachine's Rules

composer require --dev thecodingmachine/phpstan-strict-rules

Para projetos Laravel

composer require nunomaduro/larastan:^2.0 --dev

PHP CodSniffer

Instalando o PHP_CodeSniffer

composer require --dev squizlabs/php_codesniffer

Lib da comunidade

PHP_CodeSniffer Standards Composer Installer Plugin

composer require --dev dealerdirect/phpcodesniffer-composer-installer

Slevomat Coding Standard

composer require --dev slevomat/coding-standard

PHPCSExtra

composer require --dev phpcsstandards/phpcsextra:"^1.0"

Prettier

Instalando o Prettier

Prettier

npm install --save-dev --save-exact prettier

Eslint

Instalando o Eslint

Eslint

npm install --save-dev eslint

Libs para projetos VueJS

eslint-plugin-vue

npm install --save-dev eslint-plugin-vue

@vue/eslint-config-typescript

npm add --dev @vue/eslint-config-typescript @rushstack/eslint-patch

Com CyberPress

Cypress ESLint Plugin

npm install eslint-plugin-cypress --save-dev

Integração com o Prettier

@vue/eslint-config-prettier

npm add --dev @vue/eslint-config-prettier @rushstack/eslint-patch