Socket
Socket
Sign inDemoInstall

@typescript-eslint/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3733
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/eslint-plugin - npm Package Compare versions

Comparing version 1.2.1-alpha.7 to 1.2.1-alpha.8

6

package.json
{
"name": "@typescript-eslint/eslint-plugin",
"version": "1.2.1-alpha.7+773723b",
"version": "1.2.1-alpha.8+2e5b46e",
"description": "TypeScript plugin for ESLint",

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"@typescript-eslint/parser": "1.2.1-alpha.7+773723b",
"@typescript-eslint/parser": "1.2.1-alpha.8+2e5b46e",
"requireindex": "^1.2.0",

@@ -40,3 +40,3 @@ "tsutils": "^3.7.0"

},
"gitHead": "773723b4e38e7b33f43fff0c9e4a109742ebb332"
"gitHead": "2e5b46ec901edc9d855f2b75e49f19b5955a5563"
}

@@ -87,2 +87,18 @@ <h1 align="center">ESLint Plugin TypeScript</h1>

## Usage with Airbnb
Airbnb has two configs, a base one [`eslint-config-airbnb-base`](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base) and one that includes rules for React [`eslint-config-airbnb`](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb).
First you'll need to install the config according to the instructions in one of the links above. `npx install-peerdeps --dev eslint-config-airbnb` or `npx install-peerdeps --dev eslint-config-airbnb-base` should work if you are using **npm 5+**.
Then you should add `airbnb` (or `airbnb-base`) to your `extends` section of `.eslintrc`. You might also want to turn on `plugin:@typescript-eslint/recommended` as well to enable all of the recommended rules.
```json
{
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"]
}
```
**Note: You can use Airbnb's rules alongside Prettier, see [Usage with Prettier](#usage-with-prettier)**
## Supported Rules

@@ -89,0 +105,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc