@heliofi/eslint-config-helio
Advanced tools
Comparing version 0.0.2 to 0.0.3
/** | ||
* All shared override rules go here | ||
* */ | ||
module.exports = { | ||
overrides: [], | ||
} | ||
overrides: [ | ||
{ | ||
files: ['*.ts', '*.tsx'], | ||
rules: { | ||
"import/prefer-default-export": "off", | ||
}, | ||
} | ||
], | ||
} |
{ | ||
"name": "@heliofi/eslint-config-helio", | ||
"version": "0.0.2", | ||
"description": "Helio eslint-config plugin", | ||
"version": "0.0.3", | ||
"description": "Helio eslint-config", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -12,6 +12,16 @@ | ||
```bash | ||
```shell | ||
yarn add -D eslint-config-helio | ||
``` | ||
If the project doesn't have eslint installed with Airbnb config, make sure that those dependencies are installed | ||
```shell | ||
yarn add -D @typescript-eslint/eslint-plugin@ˆ5.13.0 \ | ||
@typescript-eslint/parser@ˆ5.0.0 \ | ||
@eslint \ | ||
eslint-config-airbnb-base \ | ||
eslint-config-airbnb-typescript \ | ||
eslint-plugin-import | ||
``` | ||
### React | ||
@@ -18,0 +28,0 @@ In order to use the plugin in a React project add the following to package json |
3476
29
55