Skip to content
Yet another TSLint Configuration which disables all rules which has been handlered by `eslint` or `@typescript-eslint`.
TypeScript Shell JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.commitlintrc
.editorconfig
.eslintignore
.eslintrc
.gitignore
.huskyrc.js
.lintstagedrc.js
.prettierrc
.remarkrc
.renovaterc
.travis.yml
.versionrc
CHANGELOG.md
LICENSE
README.md
build.ts
codechecks.yml
deploy.sh
package.json
prettier.json
sonar.json
tsconfig.json
tslint.json
yarn.lock

README.md

tslint-config-eslint

Yet another TSLint Configuration which disables all rules which has been handled by eslint or @typescript-eslint.

Travis Codacy Grade type-coverage npm GitHub release

David Peer David David Dev

Conventional Commits JavaScript Style Guide Code Style: Prettier codechecks.io

TSLint will be deprecated some time in 2019, but it has not been finished. So maybe you're using ESLint with it together, then it would be terrible to lint codes twice, especially for those rules which has equivalent rules from ESLint or @typescript-eslint/eslint-plugin.

You may tried something like tslint-to-eslint-config to help you to migrate, while this package/configuration will help you to use ESLint quickly without remove or refactor your original tslint.json heavily.

TOC

Usage

Install

# yarn
yarn add -D tslint-config-eslint

# npm
npm i -D tslint-config-eslint

Configuration

{
  "extends": ["your original great configs", "tslint-config-eslint"] // put this config at the last, so it will take highest priority
}
{
  "extends": ["your original great configs", "tslint-config-eslint/prettier"] // if you're using tslint with prettier
}
{
  "extends": ["your original great configs", "tslint-config-eslint/sonar"] // if you're using tslint with eslint-plugin-sonarjs
}

Forthcoming

Forthcoming configs include:

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © JounQin@1stG.me

You can’t perform that action at this time.