Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/catsmiaow/eslint-config
Shared ESLint configurations for TypeScript
https://github.com/catsmiaow/eslint-config
eslint eslint-config typescript typescript-eslint
Last synced: about 2 months ago
JSON representation
Shared ESLint configurations for TypeScript
- Host: GitHub
- URL: https://github.com/catsmiaow/eslint-config
- Owner: CatsMiaow
- Created: 2020-05-07T07:04:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T04:50:45.000Z (5 months ago)
- Last Synced: 2024-08-09T05:23:30.754Z (5 months ago)
- Topics: eslint, eslint-config, typescript, typescript-eslint
- Language: JavaScript
- Homepage:
- Size: 301 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @CatsMiaow/eslint-config
Shared ESLint configurations for TypeScript projects
## Configuration
`Installing a package` on [Working with the npm registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#installing-a-package)
## Install
`tsconfig.json` required
```sh
npm i -D @catsmiaow/eslint-config eslint vitest prettier
```## Usage
`.eslintrc`
```json
{
"extends": "@catsmiaow/eslint-config",
"rules": {}
}
````.prettierrc`
```json
{
"printWidth": 140,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "es5",
"bracketSpacing": true,
"arrowParens": "always"
}
```