Skip to content

wh1t3cAt1k/eslint-config-clean-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-clean-code

Linter rules for clean and fast TypeScript development

Why?

Because every TypeScript developer deserves not to think about code style and minor approaches.

Installation

  1. Pre-requisite: you need to have both ESLint and TypeScript installed, preferably locally.
  2. npm install --save-dev eslint-config-clean-code
  3. In your .eslintrc file at the project root, add extends: eslint-config-clean-code.
  4. Also add parserOptions: { project: 'path.to.tsconfig.json' }.
  5. Customise the rules if required.

Choices

TypeScript

Because we believe that quality software development is impossible without types.

Automatic Code Formatting

We consciously disable rules related to whitespace, indents, etc. and recommend using Prettier instead, as a complementary tool to your linter. Having wasted numerous workdays bickering about minor formatting issues, this is the only sane choice for all projects, in our opinion.

Consistency over Pluralism

There should be one straightforward way to do anything, and this consistency is enforced by the rules.

About

Linter rules for clean and fast TypeScript development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published