Skip to content

Comparitiko/eslint-config-comparitiko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 Comparitiko's ESLint + Prettier configuration 🔥

Comparitiko

Opinionated linting configuration. Valid for your JavaScript or TypeScript projects 🤟

Stars are free 😊

👀 How to use

  1. Install the dependency

    npm install --save-dev eslint-config-comparitiko
  2. Add it to your eslint.config.mjs file:

    {
      import eslintConfigComparitiko from "eslint-config-comparitiko";
    
      export default [...eslintConfigComparitiko];
    }
  3. If you are using TypeScript, just import the TypeScript configuration instead:

    import eslintConfigComparitiko from "eslint-config-comparitiko/typescript";
    
    export default [...eslintConfigComparitiko];
    • You need also configure your tsconfig.json file in the root of your project to use the typescript configuration same way as the eslint.config.mjs file.

🤔 What it does