1.5.2 • Published 7 months ago

eslint-config-ts-strict v1.5.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

ts-strict-eslint-config

Strongly opinionated ESLint config for projects using TypeScript, React and Prettier.

Installation

Install my-project with npm or yarn

npm i eslint-config-ts-strict
yarn add eslint-config-ts-strict --dev

Usage/Examples

After installing the package, you can use it in your ESLint configuration file by extending the ts-strict configuration:

{
  "extends": ["ts-strict", "plugin:prettier/recommended"],
  "parserOptions": {
    "project": "./tsconfig.json",
    "ecmaVersion": "latest"
  }
}

configuration

The ts-strict configuration extends the following ESLint configurations:

  • eslint:recommended
  • plugin:@typescript-eslint/recommended
  • plugin:@typescript-eslint/recommended-requiring-type-checking
  • plugin:import/recommended
  • plugin:import/typescript
  • plugin:jsx-a11y/recommended

It also includes additional rules to enforce strict coding standards. The individual rule sets are located in the rules/ directory and can be extended separately if desired.

Contributing

Contributions are always welcome!

If you find a bug or have a suggestion for improvement, please open an issue or submit a pull request.

1.5.2

7 months ago

1.4.2

9 months ago

1.4.1

9 months ago

1.4.0

9 months ago

1.3.7

9 months ago

1.3.9

9 months ago

1.3.8

9 months ago

1.2.7

11 months ago

1.2.6

12 months ago

1.2.5

12 months ago

1.2.4

12 months ago

1.2.3

12 months ago

1.1.3

1 year ago

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago