mirror of
https://github.com/theoludwig/eslint-config-conventions.git
synced 2025-09-11 23:09:27 +02:00
feat: support both JavaScript and TypeScript linting
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"lint:commit": "commitlint",
|
||||
"lint:editorconfig": "editorconfig-checker",
|
||||
"lint:markdown": "markdownlint \"**/*.md\" --dot --ignore-path \".gitignore\"",
|
||||
"lint:javascript": "eslint \"**/*.{js,jsx,ts,tsx}\"",
|
||||
"lint:javascript": "eslint \"**/*.{js,jsx,ts,tsx}\" -c \"eslintrc.json\"",
|
||||
"lint:prettier": "prettier \".\" --check --ignore-path \".gitignore\"",
|
||||
"lint:staged": "lint-staged",
|
||||
"test": "tape \"test/**/*.js\"",
|
||||
@@ -44,9 +44,7 @@
|
||||
"eslint": "^8.9.0",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-unicorn": "^41.0.0",
|
||||
"typescript": "^4.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.12.0"
|
||||
"eslint-plugin-unicorn": "^41.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "16.2.1",
|
||||
|
Reference in New Issue
Block a user