Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Updates required for 6.2.0-beta release #865

Merged
merged 1 commit into from
May 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## [6.2.0-beta](https://github.com/Microsoft/tslint-microsoft-contrib/releases/tag/6.2.0-beta)

[All Issues](https://github.com/Microsoft/tslint-microsoft-contrib/issues?q=milestone%3A6.2.0-beta)

- [#859](https://github.com/microsoft/tslint-microsoft-contrib/issues/859) no-string-based-x rules throw errors in Vue SFC
- [#856](https://github.com/microsoft/tslint-microsoft-contrib/issues/856) False positive for prefer-array-literal when using `Array` from other namespace
- [#844](https://github.com/microsoft/tslint-microsoft-contrib/issues/844) Update w3 reference in the react-a11y-role rule
- [#841](https://github.com/microsoft/tslint-microsoft-contrib/issues/841) Rule react-a11y-input-elements incorrectly requiring value for file input
- [#839](https://github.com/microsoft/tslint-microsoft-contrib/issues/839) prefer-array-literal: catch new Array(10) but not Array(10)
- [#836](https://github.com/microsoft/tslint-microsoft-contrib/issues/836) react-a11y-no-onchange should allow onChange when onBlur is present
- [#830](https://github.com/microsoft/tslint-microsoft-contrib/issues/830) Add case sensitivity to 'import-name' rule
- [#822](https://github.com/microsoft/tslint-microsoft-contrib/issues/822) prefer-array-literal: how can one specify the size of the array?
- [#814](https://github.com/microsoft/tslint-microsoft-contrib/issues/814) export-name does not work with kebab/snake case
- [#813](https://github.com/microsoft/tslint-microsoft-contrib/issues/813) react-bind-this-issue doesn't detect bind decorators defined after usage
- [#279](https://github.com/microsoft/tslint-microsoft-contrib/issues/279) new a11y rule: mouse-events-have-key-events
- [#252](https://github.com/microsoft/tslint-microsoft-contrib/issues/252) new security rule: detect-child-process

## [6.1.0](https://github.com/Microsoft/tslint-microsoft-contrib/releases/tag/6.1.0)

[All Issues](https://github.com/Microsoft/tslint-microsoft-contrib/issues?q=milestone%3A6.1.0)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ We recommend you specify exact versions of lint libraries, including `tslint-mic
<code>child_process.exec(cmd)</code> runs <code>cmd</code> as a shell command which could allow an attacker to execute malicious code injected into <code>cmd</code>.
Instead of <code>child_process.exec(cmd)</code> you should use <code>child_process.spawn(cmd)</code> or specify the command as a literal, e.g. <code>child_process.exec('ls')</code>.
</td>
<td>@next</td>
<td>6.2.0-beta</td>
</tr>
<tr>
<td>
Expand Down Expand Up @@ -835,12 +835,12 @@ We recommend you specify exact versions of lint libraries, including `tslint-mic
Since 2.0.10, this rule can be configured to allow <code>Array</code> type parameters.
To ignore type parameters, configure the rule with the values: <code>[true, {"allow-type-parameters": true}]</code>.
<br />
Since @next, you can lift restriction on <code>Array</code> constructor calls with a single argument (to create empty array of a given length). If type information is available - rule will allow only a single argument of <code>number</code> type.
Since 6.2.0-beta, you can lift restriction on <code>Array</code> constructor calls with a single argument (to create empty array of a given length). If type information is available - rule will allow only a single argument of <code>number</code> type.
To allow empty array creation, configure the rule with the values: <code>[true, {"allow-size-argument": true}]</code>.
<br />
This rule has some overlap with the <a href="https://palantir.github.io/tslint/rules/array-type">TSLint array-type rule</a>; however, the version here catches more instances.
</td>
<td>1.0, 2.0.10, @next</td>
<td>1.0, 2.0.10, 6.2.0-beta</td>
</tr>
<tr>
<td>
Expand Down Expand Up @@ -1008,7 +1008,7 @@ We recommend you specify exact versions of lint libraries, including `tslint-mic
<td>
For accessibility of your website, elements with mouseOver/mouseOut should be accompanied by onFocus/onBlur keyboard events.
</td>
<td>@next</td>
<td>6.2.0-beta</td>
</tr>
<tr>
<td>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tslint-microsoft-contrib",
"version": "6.1.0",
"version": "6.2.0-beta",
"description": "TSLint Rules for Microsoft",
"repository": {
"type": "git",
Expand Down