1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2025-09-11 23:09:27 +02:00

build(deps): update latest

This commit is contained in:
Divlo
2023-01-10 13:27:35 +01:00
parent fcc107bdec
commit e24964a60a
7 changed files with 1160 additions and 9800 deletions

View File

@@ -109,7 +109,7 @@ echo {}> .prettierrc.json
```jsonc
{
"scripts": {
"lint:typescript": "eslint \"**/*.{js,jsx,ts,tsx}\" --ignore-path \".gitignore\"",
"lint:eslint": "eslint \"**/*.{js,jsx,ts,tsx}\" --ignore-path \".gitignore\"",
"lint:prettier": "prettier \".\" --check --ignore-path \".gitignore\""
}
}
@@ -118,9 +118,9 @@ echo {}> .prettierrc.json
### Usage
```sh
npm run lint:typescript
npm run lint:eslint
# or to apply automatic fixes to code
npm run lint:typescript -- --fix
npm run lint:eslint -- --fix
# Validate code formatting in all supported languages by Prettier
npm run lint:prettier