- Deprecate package as eslint is now preferred for TypeScript linting.
- Try ignoring in-memory files which can crash tslint.
- Catch error when resolving global tslint fails. Thanks @nickjs!
- Restricts when tslint is loaded from the workspace. This fix was made in response to CVE-2020-17150.
- Global TSLint versions can always be loaded.
- TSLint versions installed next to the plugin can always be loaded.
- Otherwise, the consumer of the plugin must use
onConfigurationChanged
and explicitly enableallowWorkspaceLibraryExecution
. - You can also force allow workspace versions of TSLint to be loaded by setting a
TS_TSLINT_ENABLE_WORKSPACE_LIBRARY_EXECUTION
environment variable.
- Restore old cwd after linting finishes.
- Make sure we pass along packageManager from plugin.
- Fixed the disable quick fix not having correct indentation.
- Fixes the config file diagnostic not having
tslint
as its source.
- Fixes
mjs
files being linted by default.
- Add pnpm as
packageManager
option.
- Try to help users better understand why tslint is not enabled by generating warnings if there is a
tslint.json
and the tslint library cannot be found or generates an error.
- Fix the
fix-all
action show up even on non-autofixable errors.
- Set
fixName
on returned actions. Thanks @kondi! - Fix TS Lint's fix all quick fix showing up on non-tslint errors.
- Use
getCombinedQuickFixes
to compute 'fix all of X' errors.
- Fix
ignoreDefinitionFiles
defaulting to false.
- Allowing configuring
excluded
files. Thanks @vemoo! - Default
alwaysShowRuleFailuresAsWarnings
to true. Set"alwaysShowRuleFailuresAsWarnings": false
to restore the old behavior. - Removing logic for older TS lint versions. Only TSlint5 was ever officially supported but there was still some logic for handling older tslint4.
- Don't show error in editor if
tslint
can't be found. We still log an error in the TS Server but do not generate an editor warning.
- Always show a disable rule fix for TSLint errors. Thanks @reduckted!
- Fix bug that could cause TS Lint to use a different version of TypeScript than the version being used by the plugin. This would result in unexpected behavior.
- Add support for configuring the plugin from an editor.
- Correctly observe changes to the
tsconfig
/jsconfig
. - Fix error that could cause duplicate tslint errors to be reported.
- Fix potential state corruption error when using TS 3.2.
- Add
enableJs
option to enable/disable validating js. Default tofalse
.
- Use diagnostic as label for quick fixes
- Enable for js files included in tsconfig.
- Fix spelling of setting name
- Don't call
getProgram
directly since it may corrupt the TS Server state - Exclude some files from npm package.
- Initial release