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.
@inthepocket/eslint-config-react-native
Advanced tools
React Native specific linting rules for ESLint. It is recommended to use this config to ensure that any React-Native project within In The Pocket is linted in the same way.
The config is mainly based on:
If some rules don't suit your needs, please consider opening an MR instead of overriding the config for each project.
npm i -D @inthepocket/eslint-config-react-native
or
yarn add -D @inthepocket/eslint-config-react-native
Within your package.json
or add the following:
{
"eslintConfig": {
"extends": ["@inthepocket/eslint-config-react-native"]
}
}
You can also create an .eslintrc
file instead.
{
"scripts": {
"lint": "eslint --version && eslint --cache \"./src/**/*.{ts,tsx}\"",
}
}
FAQs
ESLint config for React Native
We found that @inthepocket/eslint-config-react-native demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 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.