@tabianco/eslint-config-typescript

1.1.0 • Public • Published

Nuxt ESLint Config (supports TypeScript)

GitHub Actions npm (scoped with tag) npm

ESlint config used for Nuxt.js.

Usage

Do you want to add the config to your own projects? There you go:

  1. Add this package to your devDependencies
$ npm i -D @tabianco/eslint-config-typescript
# or
$ yarn add -D @tabianco/eslint-config-typescript
  1. Install eslint if not already present locally or globally
$ npm i -D eslint
# or
$ yarn add -D eslint
  1. Create a .eslintrc file

  2. Extend our config:

{
  "extends": [
    "@tabianco/eslint-config-typescript"
  ]
}

Full example

A full example .eslintrc for a project with babel support:

Dont forget to npm i -D babel-eslint or yarn add -D babel-eslint

{
  "root": true,
  "parserOptions": {
    "parser": "babel-eslint",
    "sourceType": "module"
  },
  "extends": [
    "@tabianco/eslint-config-typescript"
  ]
}

License

MIT - Tabian Co.

Readme

Keywords

none

Package Sidebar

Install

npm i @tabianco/eslint-config-typescript

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

6.37 kB

Total Files

4

Last publish

Collaborators

  • kulikala