Download the PHP package wavevision/coding-standard without Composer
On this page you can find all versions of the php package wavevision/coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wavevision/coding-standard
More information about wavevision/coding-standard
Files in wavevision/coding-standard
Package coding-standard
Short Description The Wavevision PHP coding standard.
License MIT
Homepage https://github.com/wavevision/coding-standard
Informations about the package coding-standard
Coding Standard
Code style rules and presets for SCSS and TypeScript. Also contains default PhpStorm project code style.
PHP
Rules for:
Installation
Via Composer
Setup
Add to existing ruleset
or use directly
SCSS and TypeScript
Rules and presets for:
Installation
Via yarn
or npm
Setup
Following config examples can be further extended and customized according to project's needs compliant with respective library docs.
babel.config.js
.eslintrc.js
Note: The order of
extends
items is crucial for all rules to work correctly.
postcss.config.js
prettier.config.js
stylelint.config.js
tsconfig.json
Polyfills
Should your project need it, import babel
polyfills consisting of core-js
and regenerator-runtime
stable versions.
Note: This might add unnecessary code to your bundle. Make sure your setup needs all the polyfills, otherwise, import required features only.
This should most likely happen in your project's top-level entry point.
PhpStorm
- Set
File > Settings > Editor > CodeStyle
> Scheme toProject
- Symlink
phpstorm/style.xml
to.idea/codeStyles/Project.xml
All versions of coding-standard with dependencies
php-parallel-lint/php-parallel-lint Version ^1.2
phpstan/phpstan Version ^0.12
slevomat/coding-standard Version ^6.4