npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

tslint-eslint-rules-recommended

v1.2.2

Published

Recommended ESLint rules for tslint-eslint-rules

Downloads

2,843

Readme

npm version dependencies total downloads License

tslint-eslint-rules-recommended

Recommended ESLint rules for tslint-eslint-rules. Inspired by ESLint Recommended rules eslint:recommended rules and tslint-eslint-rules project that ports most of them.

🤔 How to use?

Install the dependency

npm i tslint-eslint-rules-recommended --save-dev

Use it in your tslint.json file

{
  "extends": ["tslint-eslint-rules-recommended"]
}

🤓 Available rules

If you want, you can extend or modify the recommended rules:

{
  "extends": ["tslint-eslint-rules-recommended"],
  "rules": {
    "valid-typeof": false
  }
}

In addition to Palantir rules you can use tslint-eslint-rules.

Rules

✅ Recommended rules enabled (ESLint recommended rules) ✅

| Rule | Origin | | ------------------------ | ------------------------------------ | | no-cond-assign | TSLint "no-conditional-assignment" | | no-console | TSLint "no-console" | | no-constant-condition | tslint-eslint-rules | | no-control-regex | tslint-eslint-rules | | no-debugger | TSLint "no-debugger" | | no-duplicate-case | tslint-eslint-rules | | no-empty-character-class | tslint-eslint-rules | | no-empty | TSLint "no-empty" | | no-ex-assign | tslint-eslint-rules | | no-extra-boolean-cast | tslint-eslint-rules | | no-extra-semi | tslint-eslint-rules | | no-fallthrough | TSLint "no-switch-case-fall-through" | | no-inner-declarations | tslint-eslint-rules | | no-invalid-regexp | tslint-eslint-rules | | no-irregular-whitespace | tslint-eslint-rules | | no-mixed-spaces-and-tabs | tslint-eslint-rules | | no-redeclare | TSLint "no-duplicate-variable" | | no-regex-spaces | tslint-eslint-rules | | no-sparse-arrays | tslint-eslint-rules | | no-unsafe-finally | TSLint "no-unsafe-finally" | | no-unused-vars | TSLint "no-unused-variable" | | use-isnan | TSLint "use-isnan" | | valid-typeof | tslint-eslint-rules | | padded-blocks | tslint-eslint-rules |

You can add more ESLint rules using tslint-eslint-rules project ported rules.

🚫 Next rules are not currently available: 🚫

| Rule | Reason | | --------------------- | ---------------------------- | | constructor-super | Not Applicable to TypeScript | | for-direction | Unavailable | | getter-return | Unavailable | | no-case-declarations | Unavailable | | no-class-assign | Unavailable | | no-compare-neg-zero | Unavailable | | no-const-assign | Not Applicable to TypeScript | | no-delete-var | Not Applicable to TypeScript | | no-dupe-args | Not Applicable to TypeScript | | no-dupe-class-members | Not Applicable to TypeScript | | no-dupe-keys | Not Applicable to TypeScript | | no-empty-pattern | Unavailable | | no-func-assign | Not Applicable to TypeScript | | no-global-assign | Unavailable | | no-new-symbol | Unavailable | | no-obj-calls | Not Applicable to TypeScript | | no-octal | Not Applicable to TypeScript | | no-self-assign | Unavailable | | no-this-before-super | Not Applicable to TypeScript | | no-undef | Not Applicable to TypeScript | | no-unreachable | Not Applicable to TypeScript | | no-unsafe-negation | Unavailable | | no-unused-labels | Unavailable | | no-useless-escape | Unavailable | | require-yield | Unavailable |

🚧 TSLint Future Notice

TSLint is an active and updated project, but if you are into linters you should read TSLint in 2019 post to know more about the upcoming changes.

I'll continue the maintenance of this repo as long as TSLint is the main TypeScript linter.

License

MIT License - read LICENSE for full details.