0.0.4 • Published 8 months ago

@xeraph-dev/eslint-config v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@xeraph-dev/eslint-config

Installation

No need to install the eslint package

npm install --save-dev prettier @xeraph-dev/eslint-config

or if prefer to use @xeraph-dev/prettier-config

npm install --save-dev @xeraph-dev/prettier-config @xeraph-dev/eslint-config

To lint typescript files

npm install --save-dev typescript

To lint astro files

npm install --save-dev astro

Configuration

Extend via package.json

{
  // ...
  "eslintConfig": {
    "extends": "@xeraph-dev"
  }
  // ...
}

Extend via .eslintrc.cjs

/** @type {import('eslint').Linter.Config} */
module.exports = {
  extends: ['@xeraph-dev'],
}