0.2.1 • Published 5 years ago
@rob8080/eslint-config-base v0.2.1
@rob8080/eslint-config-base
A config mostly used by myself, including recommend extends from JS, TS & Vue, also with some additional rules.
Install
# Yarn
yarn add --dev eslint @rob8080/eslint-config-base
# NPM
npm install -D eslint @rob8080/eslint-config-base- Also add peer dependencies listed below
Peer Dependencies
| package | eslint-config | -base | -ts | -vue |
|---|---|---|---|---|
| eslint@>=7 | ✔️ | ✔️ | ✔️ | ✔️ |
| @typescript-eslint/eslint-plugin@>=4.14.0 | ✔️ | ✔️ | ||
| @typescript-eslint/parser@>=4.14.0 | ✔️ | ✔️ | ||
| eslint-plugin-vue@>=7.4.0 | ✔️ | ✔️ | ||
| vue-eslint-parser@>=7.3.0 | ✔️ | ✔️ |
Usage
.eslintrc.js
module.exports = {
// ...
extends: [
'@rob8080/eslint-config-base', // or other package
],
// ...
}See also:
0.2.1
5 years ago