
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@aerian/eslint-config-typescript
Advanced tools
This is a sharable ESLint config for TypeScript. The base config is NO LONGER included by default, so you will need to include it in most cases
This is a sharable ESLint config for TypeScript. The base config is NO LONGER included by default, so you will need to include it in most cases
This isn't meant to be used on its own. If you're using plain TypeScript add
@aerian/eslint-config
. Alternatively, if you're using React, use
@aerian/eslint-config-react
. If you're using Preact, use
@aerian/eslint-config-preact
. If you need node, use
@aerian/eslint-config-node
To install, run:
#npm
npm i -D eslint prettier @aerian/eslint-config @aerian/eslint-config-typescript
#yarn
yarn add -D eslint prettier @aerian/eslint-config @aerian/eslint-config-typescript
To use it, create the following .eslintrc.json:
{
"extends": ["@aerian/eslint-config", "@aerian/eslint-config-typescript"]
}
also see config for mono-repos: https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/MONOREPO.md
The base formatting uses Prettier, which parses and reformats your code. It runs
this through ESLint, so you can run use eslint . --fix
to apply Prettier
formatting as well as ESLint rules.
By default, the VSCode ESLint plugin doesn't handle TypeScript. To fix this, add something like the following to your user or workspace settings:
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.formatOnSave": false
},
"eslint.lintTask.enable": true,
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
FAQs
This is a sharable ESLint config for TypeScript. The base config is NO LONGER included by default, so you will need to include it in most cases
The npm package @aerian/eslint-config-typescript receives a total of 6 weekly downloads. As such, @aerian/eslint-config-typescript popularity was classified as not popular.
We found that @aerian/eslint-config-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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 uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.