Skip to content

The base ESLint file I use for all of my TypeScript projects.

License

Notifications You must be signed in to change notification settings

kata-codes/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dependencies Status devDependencies Status Node CI

This repo contains the base ESLint configuration for all kata.codes TypeScript projects.

You will need to install this package as a dev dependency. Then you will want to add a linting script to the scripts property to your package.json.

Installation

Step 1: devDependencies

Include the following within the devDependencies object of package.json. This specifies where to grab the ESLint config from.

"@kata-codes/eslint-config": "github:kata-codes/eslint-config"

Step 2: eslintConfig

Add the following object to package.json. This specifies the ESLint config file we want to extend.

"eslintConfig": {
	"extends": "@kata-codes/eslint-config"
}

Step 3: scripts

Include the following within the scripts object of package.json. This creates an npm script that will run ESLint.

"scripts": {
	"code:lint": "eslint ./src/**/*.ts"
}

About

The base ESLint file I use for all of my TypeScript projects.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published