2.0.7 • Published 1 year ago

@chubbyts/chubbyts-eslint v2.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

chubbyts-eslint

npm-version

Description

ESLint Configuration for chubbyts libraries / framework / projects.

Requirements

Installation

Through NPM as @chubbyts/chubbyts-eslint.

npm i @chubbyts/chubbyts-eslint@^2.0.4

Configuration

tsconfig.eslint.json

If you want to lint files that are not part of your tsconfig.json. Like for example tests you need a custom tsconfig.eslint.json.

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

.eslintrc.cjs

const config = require('@chubbyts/chubbyts-eslint/dist/eslintrc').default;

module.exports = {
  ...config,
  parserOptions: {
    ...config.parserOptions,
    project: './tsconfig.eslint.json', // or tsconfig.json if no custom tsconfig is needed
  },
};

Copyright

2024 Dominik Zogg

3.0.0-beta.0

8 months ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago