Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@storis/eslint-config
Advanced tools
This package contains the standard eslint configurations for TypeScript packages used by STORIS. It extends and relies on a number of other rulesets and packages including eslint-config-airbnb, @typescript/eslint, and others. It then refines those rulesets to match the STORIS TypeScript style guide.
The package relies on the following peer dependencies which differ depending on if you are using the @storis/eslint-config/nodejs
config, the @storis/eslint-config/react
config, or the @storis/eslint-config/graphql
config. You must ensure that compatible versions of the necessary peer dependencies have been installed.
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
eslint
eslint-config-airbnb-typescript
eslint-config-prettier
eslint-plugin-import
eslint-plugin-jest
eslint-config-airbnb-base
eslint-config-airbnb
eslint-plugin-jsx-a11y
eslint-plugin-react
eslint-plugin-react-hooks
eslint-plugin-testing-library
@graphql-eslint/eslint-plugin
The configuration for @typescript-eslint
requires a tsconfig.json
file to lint using type information. The tsconfig.json
file closest to the source file will be used.
Add the following to your eslint configuration file (e.g. .eslintrc.js
):
{
extends: ['@storis/eslint-config/nodejs'],
}
Add the following to your eslint configuration file (e.g. .eslintrc.js
):
{
extends: ['@storis/eslint-config/react'],
}
Add the following to your eslint configuration file (e.g. .eslintrc.js
):
const makeGraphqlOverrides = require('@storis/eslint-config/graphql');
const schemaPath = require.resolve(<path_to_graphql_schema>);
const graphqlOverrides = makeGraphqlOverrides(schemaPath);
{
overrides: graphqlOverrides,
}
This project is licensed under the terms of the MIT license.
FAQs
Eslint configurations
We found that @storis/eslint-config 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.