tslint-microsoft-contrib
Advanced tools
Changelog
This release doesn't contain any changes since 6.2.0-beta
milestone.
Full release notes:
Array
from other namespaceChangelog
Array
from other namespaceChangelog
Changes since 6.1.0-beta
milestone:
README.md
updatesFull release notes:
react-a11y-input-elements
incorrectly requiring placeholder for radio, checkbox, and file inputsimport "some-name";
walk
function instead of extending AbstractRule in our new-rule templatesChangelog
react-a11y-input-elements
incorrectly requiring placeholder for radio, checkbox, and file inputsimport "some-name";
walk
function instead of extending AbstractRule in our new-rule templatesChangelog
The major version 6
comes with all the greatness of the 6.0.0-beta
milestone along with:
➕ New rules:
use-simple-attributes
☑️ Internal improvements:
Full release notes:
⚠️ Breaking changes:
export-name
: fixed overly permissive validatorno-relative-imports
: disallow .
and ..
path componentsimport-name
: fixed for long ../..
paths and similar.jsx
files to be considered as TSX➕ New rules:
informative docs
react-a11y-required
react-a11y-no-onchange
react-a11y-input-elements
non-literal-fs-path
use-simple-attributes
✅ General changes:
import-name
: better documentation on complex packagesreact-anchor-blank-noopener
: option to avoid redundant rel valuesmocha-no-side-effect-code
: ignore .forEach
setupsimport-name
: option for ignoring node_modulesreact-no-dangerous-html
: suppressions no longer require absolute pathsreact-this-binding-issue
: performance boost from internal Set
sexport-name
: case-insensitive by default.tsx.ts
files as TSXno-function-expression
: exclude generics in .tsx
filesfunction-name
: add options for overlapping private and/or static method typesno-relative-import
: allow same folder importsnewline-before-return
from recommended presetfunction-name
: support symbol properties as namesimport-name
: allow more forms of specifies with hyphensno-suspicious-comment
: allow links to issuesreact-a11y-image-button-has-alt
: no longer throw on input elementsreact-a11y-anchors
: warn when there is no 'href'
attributereact-a11y-anchors
: allow children and hidden contentexport-name
: add ignore-case
optionimport-name
: clear documentation examplesimport-name
: allow snake_case file namesreact-a11y-anchors
: add ignore-case
and ignore-whitespace
optionsmax-func-body-length
: allow default
classesreact-this-binding
: add detection for @bind
decoratorsimport-name
: ignore modules with dotted pathsno-increment-decrement
: add an allow-for-loop
optionreact-tsx-curly-spacing
: empty {}
node when it only contains commentsreact-a11y-img-has-alt
: alt-text cannot be an image file nameimg-alt-ignored-image-support
: add check for title attribute for images☑️ Internal improvements:
npm-*
and releases
branchesprefer-readonly
in source codeErrorTolerantWalker
no-any
in source codeErrorTolerantWalker
as deprecatedlaunch.json
for VS Codenull
unnecessarily in source code--strict
mode in source codeChangelog
This was a huge one. Thanks so much to our many contributors, both during #hacktoberfest and in the surrounding weeks!
⚠️ Breaking changes:
export-name
: fixed overly permissive validatorno-relative-imports
: disallow .
and ..
path componentsimport-name
: fixed for long ../..
paths and similar.jsx
files to be considered as TSX➕ New rules:
informative docs
react-a11y-required
react-a11y-no-onchange
react-a11y-input-elements
non-literal-fs-path
✅ General changes:
import-name
: better documentation on complex packagesreact-anchor-blank-noopener
: option to avoid redundant rel valuesmocha-no-side-effect-code
: ignore .forEach
setupsimport-name
: option for ignoring node_modulesreact-no-dangerous-html
: suppressions no longer require absolute pathsreact-this-binding-issue
: performance boost from internal Set
sexport-name
: case-insensitive by default.tsx.ts
files as TSXno-function-expression
: exclude generics in .tsx
filesfunction-name
: add options for overlapping private and/or static method typesno-relative-import
: allow same folder importsnewline-before-return
from recommended presetfunction-name
: support symbol properties as namesimport-name
: allow more forms of specifies with hyphensno-suspicious-comment
: allow links to issuesreact-a11y-image-button-has-alt
: no longer throw on input elementsreact-a11y-anchors
: warn when there is no 'href'
attributereact-a11y-anchors
: allow children and hidden contentexport-name
: add ignore-case
optionimport-name
: clear documentation examplesimport-name
: allow snake_case file namesreact-a11y-anchors
: add ignore-case
and ignore-whitespace
optionsmax-func-body-length
: allow default
classesreact-this-binding
: add detection for @bind
decoratorsimport-name
: ignore modules with dotted pathsno-increment-decrement
: add an allow-for-loop
optionreact-tsx-curly-spacing
: empty {}
node when it only contains commentsreact-a11y-img-has-alt
: alt-text cannot be an image file nameimg-alt-ignored-image-support
: add check for title attribute for images☑️ Internal improvements:
npm-*
and releases
branchesprefer-readonly
in source codeErrorTolerantWalker
no-any
in source codeErrorTolerantWalker
as deprecatedlaunch.json
for VS Codenull
unnecessarily in source code--strict
mode in source code