The Wayback Machine - https://web.archive.org/web/20190322173345/https://github.com/typescript-eslint/typescript-eslint
Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
Monorepo for all the tooling which enables ESLint to support TypeScript https://typescript-eslint.io
Branch: master
Clone or download
gilbsgilbs and bradzacher feat(eslint-plugin): allow explicit variable type with arrow functions (
#260)

Fixes #149 

Not sure if this is really acceptable though. Please tell me if it has some edge cases I didn't see or if it's just too broad.
Latest commit bea6b92 Mar 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE chore: versions on issue templates Jan 20, 2019
.vscode feat(eslint-plugin): Migrate plugin to ts (#120) Feb 11, 2019
packages
tests/integration
tools docs(*): switch from author file comments to all-contributors (#228) Feb 23, 2019
.all-contributorsrc
.codecov.yml chore: update .codecov.yml comment config (#84) Jan 20, 2019
.editorconfig chore: move config to top level where possible Jan 13, 2019
.eslintignore chore(*): Enable comma-dangle (#271) Feb 19, 2019
.eslintrc.json fix(typescript-estree): only call watch callback on new files (#367) Mar 19, 2019
.gitattributes chore: move config to top level where possible Jan 13, 2019
.gitignore feat(eslint-plugin): Migrate plugin to ts (#120) Feb 11, 2019
.huskyrc chore: upgrade husky and lint-staged (#144) Jan 29, 2019
.lintstagedrc chore: upgrade husky and lint-staged (#144) Jan 29, 2019
.npmrc
.prettierignore chore(*): Enable comma-dangle (#271) Feb 19, 2019
.prettierrc
CHANGELOG.md
CONTRIBUTORS.md docs(*): switch from author file comments to all-contributors (#228) Feb 23, 2019
LICENSE
README.md fix: trigger new release Feb 25, 2019
azure-pipelines.yml feat(eslint-plugin): Migrate plugin to ts (#120) Feb 11, 2019
lerna.json chore: publish v1.5.0 Mar 20, 2019
package.json deps(*): Update jest (#337) Mar 8, 2019
tsconfig.base.json
yarn.lock deps(*): Update jest (#337) Mar 8, 2019

README.md

TypeScript ESLint

Monorepo for all the tooling which enables ESLint to support TypeScript

Azure Pipelines GitHub license NPM Downloads Codecov Commitizen friendly


About

This repo contains several packages which allow ESLint users to lint their TypeScript code.

  • @typescript-eslint/typescript-estree - An entirely generic TypeScript parser which takes TypeScript source code and produces an ESTree-compatible AST

    • This package is also used to power the amazing opinionated code formatter Prettier's own TypeScript use-case.
  • @typescript-eslint/parser - An ESLint-specific parser which leverages typescript-estree and is designed to be used as a replacement for ESLint's default parser, espree.

  • @typescript-eslint/eslint-plugin - An ESLint-specific plugin which, when used in conjunction with @typescript-eslint/parser, allows for TypeScript-specific linting rules to run.

  • @typescript-eslint/eslint-plugin-tslint - An ESLint-specific plugin which runs an instance of TSLint within your ESLint setup to allow for users to more easily migrate from TSLint to ESLint.

Package Versions

All of the packages are published with the same version number to make it easier to coordinate both releases and installations.

Additionally, we also publish a canary release on every successful merge to master, so you never need to wait for a new stable version to make use of any updates.

The latest (stable) version is:

NPM Version

The canary (latest master) version is:

NPM Version

Supported TypeScript Version

We will always endeavor to support the latest stable version of TypeScript. Sometimes, but not always, changes in TypeScript will not require breaking changes in this project, and so we are able to support more than one version of TypeScript.

The version range of TypeScript currently supported by this parser is >=3.2.1 <3.4.0.

This is reflected in the devDependency requirement within the package.json file, and it is what the tests will be run against. We have an open peerDependency requirement in order to allow for experimentation on newer/beta versions of TypeScript.

If you use a non-supported version of TypeScript, the parser will log a warning to the console. If you want to disable this warning, you can configure this in your parserOptions. See: @typescript-eslint/parser and @typescript-eslint/typescript-estree.

Please ensure that you are using a supported version before submitting any issues/bug reports.

License

TypeScript ESLint inherits from the the original TypeScript ESLint Parser license, as the majority of the work began there. It is licensed under a permissive BSD 2-clause license.

Contributors

Thanks goes to the wonderful people listed in CONTRIBUTORS.md.

Contributing Guide

COMING SOON!

You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.