@rob8080/eslint-config-ts

0.2.1 • Public • Published

@rob8080/eslint-config-ts

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-ts

# NPM
npm install -D eslint @rob8080/eslint-config-ts
  • 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-ts', // or other package
    ],
    // ...
}

See also:

Readme

Keywords

none

Package Sidebar

Install

npm i @rob8080/eslint-config-ts

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

4.09 kB

Total Files

3

Last publish

Collaborators

  • rob8080