tslint-immutable
tslint-immutable copied to clipboard
TSLint rules to disable mutation in TypeScript.
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.2.0 to 3.7.1. Release notes Sourced from codecov's releases. v3.6.4 Fix for Cirrus CI v3.6.3 AWS Codebuild fixes + package updates v3.6.2 command line args sanitised v3.6.1...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.19. Release notes Sourced from lodash's releases. 4.17.16 Commits d7fbc52 Bump to v4.17.19 2e1c0f2 Add npm-package 1b6c282 Bump to v4.17.18 a370ac8 Bump to v4.17.17 1144918...
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4. Release notes Sourced from https-proxy-agent's releases. 2.2.4 Patches Add .editorconfig file: a0d4a20458498fc31e5721471bd2b655e992d44b Add .eslintrc.js file: eecea74a1db1c943eaa4f667a561fd47c33da897 Use a net.Socket instead of a plain EventEmitter...
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.1 to 4.5.3. Changelog *Sourced from [handlebars's changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md).* > ## v4.5.3 - November 18th, 2019 > Bugfixes: > > - fix: add "no-prototype-builtins" eslint-rule and fix all...
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.0 to 3.13.1. Changelog *Sourced from [js-yaml's changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md).* > ## [3.13.1] - 2019-04-05 > ### Security > - Fix possible code execution in (already unsafe) `.load()`, [#480](https://github-redirect.dependabot.com/nodeca/js-yaml/issues/480)....
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. Commits - [`754f0c2`](https://github.com/jonschlinkert/mixin-deep/commit/754f0c20e1bc13ea5a21a64fbc7d6ba5f7b359b9) 1.3.2 - [`90ee1fa`](https://github.com/jonschlinkert/mixin-deep/commit/90ee1fab375fccfd9b926df718243339b4976d50) ensure keys are valid when mixing in values - See full diff in [compare view](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Maintainer changes This...
#### Offending code ```ts export class NullDereferenced extends Error { constructor(readonly message: string = 'This value was promised to never be undefined.') { super(message); Object.setPrototypeOf(this, NullDereferenced.prototype); if ('captureStackTrace' in Error)...
https://hackernoon.com/rethinking-javascript-eliminate-the-switch-statement-for-better-code-5c81c044716d ```json5 "no-break": [true, {"ignore-switch": "true"}], // maybe continue is included here or a separate rule? "no-if": "true", // or maybe "prefer-ternary"? "no-loops": [ true, "while", "for", "do" ] ```
I am making extensive use of the [`readonly-array`](https://github.com/jonaskello/tslint-immutable#readonly-array) rule, and was wondering: do you happen to have any plans for equivalent `readonly-set` and `readonly-map` rules that would enforce the same...
The readme has become huge and hard to manage; it needs to be broken up into multiple smaller files.