
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.
@equisoft/eslint-config-react
Advanced tools
Kronos Technologies' React ESLint config, based on eslint-config-airbnb
This project hosts Equisoft's ESLint configuration. It is versatile enough to be used with NodeJS or Web projects.
When using frameworks or libraries, you can augment it with the use of flavors, such as @equisoft/eslint-config-react.
The versioning of this project respects semver. That means your project's package.json can caret (^
) import it.
Install the libraries in your project:
yarn add --dev @equisoft/eslint-config eslint
Then create a .eslintrc file that uses Equisoft's configuration:
{
"extends": ["@equisoft/eslint-config-react"]
}
Finally create a script in your package.json to easily run ESLint:
{
"scripts": {
"eslint": "eslint src",
"eslint:ci": "yarn eslint --format junit -o build/tests/eslint/junit.xml"
}
}
Now you can use yarn eslint
to validate the code style of your Javascript files!
We strongly suggest that you enforce code style checks on your CI. For example, on CircleCI you can add a configuration similar to this one to your .circleci/config.yml:
eslint:
executor: 'node'
steps:
- run: 'mkdir -p build/tests/eslint/'
- run: 'yarn eslint:ci'
- store_test_results:
path: 'build/tests'
ESLint supports exclusion of globs in .eslintignore. One way to gradually migrate a legacy code base to this configuration is to exclude all source files and add conforming files one at a time. To achieve this, add this to your .eslintignore:
src/**/*.js
!src/contacts/**/*.js
Note how an entry prefixed by !
is added to re-include some source files.
For more information on this technique, you can read the ESLint documentation.
FAQs
Equisoft's React ESLint config, based on eslint-config-airbnb
The npm package @equisoft/eslint-config-react receives a total of 95 weekly downloads. As such, @equisoft/eslint-config-react popularity was classified as not popular.
We found that @equisoft/eslint-config-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.