
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@shaizei/eslint-config
Advanced tools
This package contains shareable ESLint configuration used by the applications created with @shaizei/cli.
This package contains shareable ESLint configuration used by the applications created with @shaizei/cli.
Using Yarn:
yarn add @shaizei/eslint-config --dev
Using npm:
npm install @shaizei/eslint-config --save-dev
.eslintrc.js
@shaizei/eslint-config
and just export it as follows.For JavaScript projects:
module.exports = {
extends: '@shaizei/eslint-config/javascriptReact',
};
For TypeScript projects:
module.exports = {
extends: '@shaizei/eslint-config/typescriptReact',
};
.eslintignore
file as well, just run the following command from terminal: cat ./node_modules/@shaizei/eslint-config/.eslintignore >> .eslintignore
If you want to override the default configuration, then add the following code in .eslintrc.js
file:
For JavaScript projects:
module.exports = {
extends: '@shaizei/eslint-config/javascriptReact',
// your config options goes here, e.g. plugins: [...]
};
For TypeScript projects:
module.exports = {
extends: '@shaizei/eslint-config/typescriptReact',
// your config options goes here, e.g. plugins: [...]
};
As we're not installing ESLint locally per project, but leveraging ESLint and associated packages installed in @shaizei/eslint-config
project. Thus, we need to inform VSCode ESLint extension that how to resolve ESLint.
Go to settings.json
in VSCode.
Add following settings:
"eslint.nodePath": "./node_modules/@shaizei/eslint-config/node_modules"
Above mentioned settings will let the extension read ESLint from @shaizei/eslint-config
.
Also, for TypeScript, we need to tell ESLint extension to lint .ts
and .tsx
files as well. We recommend to add following setting as well in settings.json
:
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
0.1.0-beta.13 (2019-09-14)
eslint-config
max-lines
& max-lines-per-function
(@shahzaibkhalid)scripts
typescript-config
no-resolve
to resolve d.ts
(@shahzaibkhalid)FAQs
This package contains shareable ESLint configuration used by the applications created with @shaizei/cli.
The npm package @shaizei/eslint-config receives a total of 0 weekly downloads. As such, @shaizei/eslint-config popularity was classified as not popular.
We found that @shaizei/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.