Skip to content

A TSLint config with sensible rules for 0x protocol, Airbnb, Prettier, and more.

Notifications You must be signed in to change notification settings

RadarTech/tslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚙️ tslint-config

code style: airbnb code style: prettier

A TSLint config with sensible rules for 0x protocol, Airbnb, Prettier, and more.

🔗 Installation

Install via npm:

npm install @radar/tslint-config --save-dev

Ensure you also have the required peerDependencies installed:

npm install tslint@^5.11.0 typescript@^3.0.3 prettier@^1.14.0 --save-dev

🛠️ Usage

By default, only airbnb and prettier configurations are included. Each configuration is available as a separate file so you can mix in just what you need!

In tslint.json:

{
  "extends": "@radar/tslint-config"
}

or:

{
  "extends": [
    "@radar/tslint-config/0x"
    "@radar/tslint-config/airbnb",
    "@radar/tslint-config/prettier", // NOTE: Prettier should always be the last in the list.
  ]
}

⚡ Configuration

Rules

Plugins

🗜️ Versioning

+————— Major version is synchronized with TSLint's major version.
| +——— Minor version has BREAKING CHANGES or features.
| | +— Patch version has non-breaking changes.
| | |
x.x.x

About

A TSLint config with sensible rules for 0x protocol, Airbnb, Prettier, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published