mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
Initial commit
This commit is contained in:
34
README.md
Normal file
34
README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# @openstapps/eslint-config
|
||||
|
||||
[](https://gitlab.com/openstapps/eslint-config/commits/master)
|
||||
[](https://npmjs.com/package/@openstapps/eslint-config)
|
||||
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
Unfortunately, ESLint requires you to define plugins and configs
|
||||
your config depends on as `peerDependencies`, which means they
|
||||
have to be installed manually.
|
||||
|
||||
Use the command
|
||||
|
||||
```shell
|
||||
npx install-peerdeps --dev @openstapps/eslint-config
|
||||
```
|
||||
|
||||
Add either the following to your `package.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"devDependencies": {
|
||||
"eslint": ">=8.11.0",
|
||||
"eslint-config-prettier": ">=8.5.0",
|
||||
"eslint-plugin-jsdoc": ">=38.0.6",
|
||||
"eslint-plugin-prettier": ">=4.0.0",
|
||||
"eslint-plugin-unicorn": ">=41.0.1",
|
||||
"prettier": ">=2.6.0",
|
||||
"@typescript-eslint/eslint-plugin": ">=5.15.0"
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user