@typescript-eslint/eslint-plugin
Advanced tools
Comparing version 1.2.1-alpha.7 to 1.2.1-alpha.8
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
266111
151