Skip to content

ttab/eslint-config-elephant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ttab/eslint-config-elephant

Do you even lint bro? This will help you lint your code.

One config to rule them all. Especially for everything elephant related. New fresh eslint 9 flat config for static code analysis and enforcement of code conventions and best practices.

Style and formatting is provided by @stylistic

Consists of:

  • eslint-config-react
  • eslint-config-react-hooks
  • eslint-config-jest
  • @stylistic/eslint-plugin
  • typescript-eslint with TypeChecked

Installation

npm install @ttab/eslint-config-elephant --save-dev
npm install eslint --save-dev

package.json

  "scripts": {
    "lint": "eslint . --cache"
  },

tsconfig.json

  "include": ["eslint.config.js"]

.gitignore

.eslintcache

Configuration

// eslint.config.js
import elephant from '@ttab/eslint-config-elephant'

export default [
    ...elephant,
  {
    rules: {
      // Add or change rules here
    }
  }
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages