3.0.1 • Published 10 months ago

@clytage/eslint-config v3.0.1

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
10 months ago

eslint-config

An ESLint shareable configuration that we used for our projects.

Install

npm install -D @clytage/eslint-config

or with Yarn

yarn add -D @clytage/eslint-config

Usage

Click here for more details about ESLint guide.

Example:

{
    "extends": "@clytage/eslint-config"
}

or "@clytage/eslint-config/node" if you're on Node environment.

Example (TypeScript):

{
    "extends": "@clytage/eslint-config/typescript",
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "ignorePatterns": [
      "dist/**",
      "node_modules/**"
    ]
}

or "@clytage/eslint-config/typescript/node" if you're on Node environment.

Note

This package is requires ESLint version 8.44.0 or above.

TypeScript config requires: