Skip to content

Instantly share code, notes, and snippets.

@jpmaga
jpmaga / rollup-typescript.md
Created August 15, 2020 13:01 — forked from aleclarson/rollup-typescript.md
The best Rollup config for TypeScript libraries

Please retweet if this helps you!

Features

🔥 Blazing fast builds
😇 CommonJS bundle
🌲 .mjs bundle
.d.ts bundle + type-checking
🧐 Source maps

@jpmaga
jpmaga / .php_cs.laravel.php
Last active January 19, 2020 22:50 — forked from laravel-shift/.php-cs-fixer.php
PHP CS Fixer - Laravel Coding Style Ruleset
<?php
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$rules = [
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',