Skip to content

koddsson/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config

This is my eslint configuration. There are many like it but this is mine.

npm install --save-dev eslint @koddsson/eslint-config

Add this to your package.json

  "scripts": {
    "lint": "eslint \"src/**/*.{js,mjs,ts,mts}\""
  }

And create a eslint.config.js with the config enabled:

import koddssonConfig from "@koddsson/eslint-config";

export default [
  ...koddssonConfig,
  // Rest of your config goes here.
];