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

Releases: microsoft/tslint-microsoft-contrib

6.2.0

24 May 23:10
4f27d7d
Compare
Choose a tag to compare

All Issues

This release doesn't contain any changes since 6.2.0-beta milestone.

Full release notes:

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

6.2.0-beta

19 May 00:24
6530da9
Compare
Choose a tag to compare
6.2.0-beta Pre-release
Pre-release

All Issues

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

6.1.1

15 Apr 02:33
Compare
Choose a tag to compare

All Issues

  • #844 Update w3 reference in the react-a11y-role rule
  • #836 react-a11y-no-onchange should allow onChange when onBlur is present
  • #814 export-name does not work with kebab/snake case
  • #813 react-bind-this-issue doesn't detect bind decorators defined after usage

Many thanks to our contributors!

6.0.0

03 Feb 00:26
Compare
Choose a tag to compare

All Issues

The major version 6 comes with all the greatness of the 6.0.0-beta milestone along with:

➕ New rules:

  • #147 New rule: use-simple-attributes

☑️ Internal improvements:

  • #613 Remove Appveyor

Full release notes:

⚠️ Breaking changes:

  • #632 Update export-name: fixed overly permissive validator
  • #624 Update no-relative-imports: disallow . and .. path components
  • #594 Update import-name: fixed for long ../.. paths and similar
  • #527 Allow .jsx files to be considered as TSX

➕ New rules:

  • #457 New rule: informative docs
  • #280 New rule: react-a11y-required
  • #278 New rule: react-a11y-no-onchange
  • #275 New rule: react-a11y-input-elements
  • #253 New rule: non-literal-fs-path
  • #147 New rule: use-simple-attributes

✅ General changes:

  • #634 Remove absolute paths from error messages
  • #588 Update import-name: better documentation on complex packages
  • #571 Update react-anchor-blank-noopener: option to avoid redundant rel values
  • #545 Update mocha-no-side-effect-code: ignore .forEach setups
  • #541 Update import-name: option for ignoring node_modules
  • #537 Update react-no-dangerous-html: suppressions no longer require absolute paths
  • #535 Update react-this-binding-issue: performance boost from internal Sets
  • #531 Update export-name: case-insensitive by default
  • #525 Don't consider .tsx.ts files as TSX
  • #518 Update no-function-expression: exclude generics in .tsx files
  • #498 Update function-name: add options for overlapping private and/or static method types
  • #493 Update no-relative-import: allow same folder imports
  • #486 Remove newline-before-return from recommended preset
  • #459 Update function-name: support symbol properties as names
  • #451 Update import-name: allow more forms of specifies with hyphens
  • #440 Update no-suspicious-comment: allow links to issues
  • #437 Update react-a11y-image-button-has-alt: no longer throw on input elements
  • #434 Update react-a11y-anchors: warn when there is no 'href' attribute
  • #433 Update react-a11y-anchors: allow children and hidden content
  • #430 Update export-name: add ignore-case option
  • #429 Update import-name: clear documentation examples
  • #424 Update import-name: allow snake_case file names
  • #394 Update react-a11y-anchors: add ignore-case and ignore-whitespace options
  • #393 Update max-func-body-length: allow default classes
  • #392 Update react-this-binding: add detection for @bind decorators
  • #378 Update import-name: ignore modules with dotted paths
  • #362 Update no-increment-decrement: add an allow-for-loop option
  • #353 Update react-tsx-curly-spacing: empty {} node when it only contains comments
  • #317 Update react-a11y-img-has-alt: alt-text cannot be an image file name
  • #276 Update img-alt-ignored-image-support: add check for title attribute for images

☑️ Internal improvements:

  • #622 Added Node versions 10 and 11 on Travis
  • #616 Add watcher that will run tests and lint
  • #613 Remove Appveyor
  • #610 Simplified release process to remove npm-* and releases branches
  • #602 Enabled prefer-readonly in source code
  • #587 Added Windows builds to Travis configuration
  • #568 Completely removed ErrorTolerantWalker
  • #566 Enabled no-any in source code
  • #558 Added Prettier
  • #556 Mark ErrorTolerantWalker as deprecated
  • #528 Added launch.json for VS Code
  • #512 Bumped Node versions on Travis to 6 and 8
  • #490 Stopped using null unnecessarily in source code
  • #484 Replaced Grunt dependency with npm scripts
  • #461 Used TypeScript's --strict mode in source code

6.0.0-beta

02 Feb 23:49
Compare
Choose a tag to compare
6.0.0-beta Pre-release
Pre-release

All Issues

This was a huge one.
Thanks so much to our many contributors, both during #hacktoberfest and in the surrounding weeks!

⚠️ Breaking changes:

  • #632 Update export-name: fixed overly permissive validator
  • #624 Update no-relative-imports: disallow . and .. path components
  • #594 Update import-name: fixed for long ../.. paths and similar
  • #527 Allow .jsx files to be considered as TSX

➕ New rules:

  • #457 New rule: informative docs
  • #280 New rule: react-a11y-required
  • #278 New rule: react-a11y-no-onchange
  • #275 New rule: react-a11y-input-elements
  • #253 New rule: non-literal-fs-path

✅ General changes:

  • #634 Remove absolute paths from error messages
  • #588 Update import-name: better documentation on complex packages
  • #571 Update react-anchor-blank-noopener: option to avoid redundant rel values
  • #545 Update mocha-no-side-effect-code: ignore .forEach setups
  • #541 Update import-name: option for ignoring node_modules
  • #537 Update react-no-dangerous-html: suppressions no longer require absolute paths
  • #535 Update react-this-binding-issue: performance boost from internal Sets
  • #531 Update export-name: case-insensitive by default
  • #525 Don't consider .tsx.ts files as TSX
  • #518 Update no-function-expression: exclude generics in .tsx files
  • #498 Update function-name: add options for overlapping private and/or static method types
  • #493 Update no-relative-import: allow same folder imports
  • #486 Remove newline-before-return from recommended preset
  • #459 Update function-name: support symbol properties as names
  • #451 Update import-name: allow more forms of specifies with hyphens
  • #440 Update no-suspicious-comment: allow links to issues
  • #437 Update react-a11y-image-button-has-alt: no longer throw on input elements
  • #434 Update react-a11y-anchors: warn when there is no 'href' attribute
  • #433 Update react-a11y-anchors: allow children and hidden content
  • #430 Update export-name: add ignore-case option
  • #429 Update import-name: clear documentation examples
  • #424 Update import-name: allow snake_case file names
  • #394 Update react-a11y-anchors: add ignore-case and ignore-whitespace options
  • #393 Update max-func-body-length: allow default classes
  • #392 Update react-this-binding: add detection for @bind decorators
  • #378 Update import-name: ignore modules with dotted paths
  • #362 Update no-increment-decrement: add an allow-for-loop option
  • #353 Update react-tsx-curly-spacing: empty {} node when it only contains comments
  • #317 Update react-a11y-img-has-alt: alt-text cannot be an image file name
  • #276 Update img-alt-ignored-image-support: add check for title attribute for images

☑️ Internal improvements:

  • #622 Added Node versions 10 and 11 on Travis
  • #616 Add watcher that will run tests and lint
  • #610 Simplified release process to remove npm-* and releases branches
  • #602 Enabled prefer-readonly in source code
  • #587 Added Windows builds to Travis configuration
  • #568 Completely removed ErrorTolerantWalker
  • #566 Enabled no-any in source code
  • #558 Added Prettier
  • #556 Mark ErrorTolerantWalker as deprecated
  • #528 Added launch.json for VS Code
  • #512 Bumped Node versions on Travis to 6 and 8
  • #490 Stopped using null unnecessarily in source code
  • #484 Replaced Grunt dependency with npm scripts
  • #461 Used TypeScript's --strict mode in source code

5.2.1

03 Feb 21:48
681d1f1
Compare
Choose a tag to compare

All Issues

  • #479 Source control improvement: repository forces \n endline style on Windows
  • #485 Adjusted tsutils peer dependency to not allow versions that break either TypeScript 2.X or 3.X

5.2.0

03 Feb 21:48
4495282
Compare
Choose a tag to compare

All Issues

  • #207 Checked second expect() messages in chai-vague-errors
  • #454 Disable no-multiline-string in recommended ruleset
  • #465 Avoided matching describe() calls in max-func-body-length
  • #468 Fixed max-func-body-length off-by-one counts
  • #475 Added TypeScript@3 as allowed peer dependency
  • #476 Fixed react-a11y-image-button-has-alt crashes on expression types

5.1.0

03 Feb 21:49
Compare
Choose a tag to compare

All Issues

  • #115 Single line block comments allowed to be nested inside code or JSX
  • #291 Excluded generators in no-function-expression
  • #381 Fixed no-unnecessary-local-variable false positive
  • #389 Ignored test inclusions/exclusions for mocha-no-side-effect-code
  • #412 Fixed several no-octal-literal edge cases
  • #413 Fixed backslashes in no-octal-literal
  • #417 Type-checking for noStringBased rules
  • #423 Allowed http://localhost for recommended no-http-string setting
  • #425 Added config setting for no-inner-html for which expressions to flag
  • #427 Added console.error to recommended ruleset for no-console
  • #444 Started flagging export { ... } declarations in export-name
  • #446 Allowed this.timeout in mocha-no-side-effect-code
  • #447 Update broken accessibility link in README.md
  • #449 Removed invalid examples.com domain from recommended ruleset

5.0.3

03 Feb 21:50
Compare
Choose a tag to compare

All Issues

  • #390 react-a11y-image-button-has-alt toLowerCase error throws
  • #414 Remove TypeError in reactA11yImgHasAltRule.ts for undefined role attribute
  • #411 Removed default configuration of deprecated rules.
  • #405 Deprecated several rules that are now duplicates
  • #410 Removed default configuration of deprecated rules.

5.0.2

03 Feb 21:51
Compare
Choose a tag to compare

All Issues

  • #402 fix false positive for no-string-based-set-timeout
  • #406 deprecate no-stateless-class rule in favor of no-unnecessary-class
  • #382 Deprecate the no-var-self rule and replace with no-this-assignment
  • #401 add grunt rule to generate rule-metadata.json which contains all rule…
  • #400 Audit rules that have already been added in TSLint
  • #399 Use ReadonlyArray for node arrays
  • #391 Upgrade grunt and other library versions in build
  • #386 Add 'typescript' to peer dependencies
  • #379 The use-isnan rule is fully removed