See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
declare global { | |
interface String { | |
toCamelCase(): string; | |
toPascalCase(): string; | |
} | |
} | |
String.prototype.toCamelCase = function (): string { | |
return this.replace(/(?:^\w|[A-Z]|-|\b\w)/g, (character, index) => | |
index === 0 |
{ | |
"compileOnSave": false, | |
"compilerOptions": { | |
"importHelpers": true, | |
"outDir": "./dist/out-tsc", | |
"sourceMap": true, | |
"declaration": false, | |
"moduleResolution": "node", | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, |
{ | |
"extends": ["codelyzer", "tslint:recommended", "tslint-config-prettier"], | |
"rules": { | |
"component-selector": [true, "element", "app", "kebab-case"], | |
"banana-in-box": true, | |
"contextual-life-cycle": true, | |
"decorator-not-allowed": true, | |
"pipe-impure": true, | |
"templates-no-negated-async": true, | |
"max-inline-declarations": true, |