Skip to content

CatsMiaow/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@CatsMiaow/eslint-config

Shared ESLint configurations for TypeScript projects

Configuration

Installing a package on Working with the npm registry

Install

tsconfig.json required

npm i -D @catsmiaow/eslint-config eslint vitest prettier

Usage

.eslintrc

{
  "extends": "@catsmiaow/eslint-config",
  "rules": {}
}

.prettierrc

{
  "printWidth": 140,
  "tabWidth": 2,
  "useTabs": false,
  "semi": true,
  "singleQuote": true,
  "quoteProps": "as-needed",
  "trailingComma": "es5",
  "bracketSpacing": true,
  "arrowParens": "always"
}