Gathering detailed insights and metrics for eslint-config-typescript
Gathering detailed insights and metrics for eslint-config-typescript
Gathering detailed insights and metrics for eslint-config-typescript
Gathering detailed insights and metrics for eslint-config-typescript
@vue/eslint-config-typescript
ESLint config for TypeScript + Vue.js projects
eslint-config-airbnb-typescript
Airbnb's ESLint config with TypeScript support
eslint-define-config
Provide a defineConfig function for .eslintrc.js files
@nuxtjs/eslint-config-typescript
ESlint config used for Nuxt with Typescript support
npm install eslint-config-typescript
Typescript
Module System
Node Version
NPM Version
88.2
Supply Chain
88.4
Quality
73.3
Maintenance
100
Vulnerability
98.6
License
JavaScript (95.72%)
TypeScript (4.28%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
7,297,768
Last Day
7,096
Last Week
34,871
Last Month
154,896
Last Year
2,032,135
MIT License
5 Stars
22 Commits
2 Forks
2 Watchers
16 Branches
2 Contributors
Updated on Sep 02, 2023
Minified
Minified + Gzipped
Latest Version
3.0.0
Package Id
eslint-config-typescript@3.0.0
Size
3.27 kB
NPM Version
6.9.0
Node Version
10.15.1
Published on
Jul 05, 2019
Cumulative downloads
Total Downloads
Last Day
1.5%
7,096
Compared to previous day
Last Week
3.8%
34,871
Compared to previous week
Last Month
56.2%
154,896
Compared to previous month
Last Year
11.5%
2,032,135
Compared to previous year
An opinionated set of ESLint rules for TypeScript projects
Install eslint-config-typescript:
1$ npm install --save-dev eslint-config-typescript
Then, add eslint-config-typescript to the "extends" array in your ESLint file. Make sure to put it last, so it gets the chance to override other configs.
1{ 2 "extends": [ 3 "typescript" 4 ] 5}
A few ESLint plugins are supported as well:
1{ 2 "extends": [ 3 "typescript", 4 "typescript/react", 5 "typescript/prettier", 6 "typescript/prettier-react" 7 ] 8}
Note: typescript/prettier-react
will automatically import typescript/prettier
.
Using default prettier configurations:
1{ 2 "extends": [ 3 "typescript", 4 "typescript/prettier" 5 ], 6 "plugins": ["filenames", "jest"], 7 "env": { 8 "jest": true, 9 "node": true 10 }, 11 "rules": { 12 "filenames/no-index": "error", 13 "filenames/match-exported": ["error", "kebab"], 14 "jest/no-disabled-tests": "error", 15 "jest/no-focused-tests": "error", 16 "jest/no-identical-title": "error", 17 "jest/valid-expect": "error" 18 } 19}
Using specific react configurations:
1{ 2 "extends": [ 3 "typescript", 4 "typescript/react", 5 "typescript/prettier-react" 6 ], 7 "plugins": ["filenames", "jest"], 8 "env": { 9 "jest": true, 10 "node": true 11 }, 12 "rules": { 13 "filenames/no-index": "error", 14 "filenames/match-exported": ["error", "kebab"], 15 "jest/no-disabled-tests": "error", 16 "jest/no-focused-tests": "error", 17 "jest/no-identical-title": "error", 18 "jest/valid-expect": "error", 19 "prettier/prettier": [ 20 "error", 21 { 22 "semi": false, 23 "tabWidth": 4, 24 "singleQuote": true 25 } 26 ] 27 } 28}
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 1/16 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
61 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More