Skip to content

Latest commit

 

History

History
99 lines (74 loc) · 3.75 KB

README.md

File metadata and controls

99 lines (74 loc) · 3.75 KB

chubbyts-eslint

CI npm-version

bugs code_smells duplicated_lines_density ncloc sqale_rating alert_status reliability_rating security_rating sqale_index vulnerabilities

Description

ESLint Configuration for chubbyts libraries / framework / projects.

Requirements

Installation

Through NPM as @chubbyts/chubbyts-eslint.

npm i @chubbyts/chubbyts-eslint@^3.0.4

Configuration

Commonjs

tsconfig.eslint.json

Example for a codebase with typescript files in src and tests:

{
  "extends": "./tsconfig.json",
  "include": [
    "eslint.config.cjs",
    "src",
    "tests"
  ],
}

eslint.config.cjs

module.exports = require('@chubbyts/chubbyts-eslint/dist/eslint.config').default;

Module

tsconfig.eslint.json

Example for a codebase with typescript files in src and tests:

{
  "extends": "./tsconfig.json",
  "include": [
    "eslint.config.mjs",
    "src",
    "tests"
  ],
}

eslint.config.mjs

export { default } from '@chubbyts/chubbyts-eslint/dist/eslint.config';

Copyright

2025 Dominik Zogg