
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@tesseract-crypto/code-style
Advanced tools
Our TypeScript Style that is based on the [google/gts](https://github.com/google/gts) project.
Our TypeScript Style that is based on the google/gts project.
First, you need to install the package through Yarn:
$ yarn add -D @tesseract-crypto/code-style
Next add the following lint scripts:
"lint": "concurrently yarn:lint:*",
"lint:eslint": "eslint src",
"lint:prettier": "prettier --check src",
"lint:tsc": "tsc --noEmit",
Feel free to also add fix scripts:
"fix": "concurrently yarn:fix:*",
"fix:eslint": "eslint src --fix",
"fix:prettier": "prettier --write src",
Finally you need to create local configurations that extend the base configurations:
.eslintrc.json
{
"extends": "./node_modules/@tesseract-crypto/code-style/.eslintrc.json"
}
.prettierrc.js
module.exports = {
...require('@tesseract-crypto/code-style/.prettierrc.json')
}
tsconfig.json
{
"extends": "./node_modules/@tesseract-crypto/code-style/tsconfig.json"
}
You should also set up a GitHub Action to lint your code:
name: My project
on: push
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: yarn install
- name: Lint code
run: yarn lint
You can publish a new version of the library using Yarn:
$ yarn publish --access public
FAQs
Our TypeScript Style that is based on the [google/gts](https://github.com/google/gts) project.
The npm package @tesseract-crypto/code-style receives a total of 14 weekly downloads. As such, @tesseract-crypto/code-style popularity was classified as not popular.
We found that @tesseract-crypto/code-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.