Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avraammavridis/eslint-config-avraam

Eslint rules I use across of my projects
https://github.com/avraammavridis/eslint-config-avraam

eslint linting

Last synced: 6 days ago
JSON representation

Eslint rules I use across of my projects

Awesome Lists containing this project

README

        

# eslint-config-avraam

## To install

1. Install shared config `npm install --save-dev eslint-config-avraam`.
2. Install peerDependencies

```bash
(
export PKG=eslint-config-avraam;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
```

1. Create a `.eslintrc.js` file and make sure that it contains the following:

```bash
module.exports = {
"extends": "avraam",
"rules": {
"require-jsdoc": "warn"
}
}
```