Skip to content

adiwajshing/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES-Lint

General Typescript ESLint Rules I use.

To use in your project:

yarn add git+https://github.com/adiwajshing/eslint-config

Then create an eslint.config.mjs like (can also be a yaml or js):

import config from '@adiwajshing/eslint-config'
import { defineConfig } from 'eslint/config';

export default defineConfig(
  [
    {
      extends: config,
	  files: "src/**/*.{ts, tsx}"
    }
  ]
)

You also need to pass "files" to specify the files to be linted

About

General Typescript ESLint Rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •