Socket
Socket
Sign inDemoInstall

@threads/tsconfig

Package Overview
Dependencies
248
Maintainers
17
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

.eslintrc.js

14

package.json

@@ -23,3 +23,4 @@ {

"prettier:check": "prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'",
"lint": "tslint './src/**/*.{ts,tsx}' -t verbose -p .",
"tslint": "tslint './src/**/*.{ts,tsx}' -t verbose -p .",
"lint": "eslint -c .eslintrc.js --ext .tsx,.ts ./src/**/*",
"typecheck": "tsc --noEmit",

@@ -30,6 +31,13 @@ "check-prettier-conflicts": "tslint-config-prettier-check './index.js' && tslint-config-prettier-check './react.js'",

"dependencies": {
"@commitlint/config-conventional": "^8.0.0"
"@commitlint/config-conventional": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/eslint-plugin-tslint": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsdoc": "^28.6.1"
},
"devDependencies": {
"@commitlint/cli": "^8.0.0",
"eslint": "^7.4.0",
"husky": "^2.4.1",

@@ -60,3 +68,3 @@ "lint-staged": "^8.2.1",

},
"version": "2.0.0"
"version": "2.1.0"
}

@@ -5,2 +5,24 @@ # tsconfig

## ESLint
To use Threads' eslint config, install eslint, the typescript parser, and the required plugins:
```sh
yarn add -D @threads/tsconfig eslint
```
In `package.json` add:
```json
{
...
"scripts": {
...
"lint": "eslint -c @threads/tsconfig/.eslintrc --ext .tsx,.ts ./src/**/*"
...
}
...
}
```
## TypeScript Config

@@ -7,0 +29,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc