
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@porscheofficial/eslint-config-porschedigital-react
Advanced tools
This package provides Porsche Digital's eslint-config as an extensible shared config.
This package provides the react eslint config as an extensible shared component.
@porscheofficial/eslint-config-porschedigital-base
npm info "@porscheofficial/eslint-config-porschedigital-react" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev "@porscheofficial/eslint-config-porschedigital-react"
/.eslintrc
:{
"extends": "@porscheofficial/eslint-config-porschedigital-react"
}
yarn add --dev --exact prettier @porscheofficial/prettier-config-porschedigital
Update package.json
:
{
"prettier": "@porscheofficial/prettier-config-porschedigital"
}
./package.json
:"scripts": {
"eslint:ci": "eslint src/ --ext .js,.jsx,.tsx,.ts -f stylish",
"eslint:fix": "eslint src/ --fix --ext .js,.jsx,.tsx,.ts -f stylish --quiet",
"prettier:ci": "prettier --check ./",
"prettier:fix": "prettier --write ./"
}
if(ide === "vscode")
update ./.vscode/settings.json
:Requires Prettier Plugin
esbenp.prettier-vscode
Requires ESLint Plugin:dbaeumer.vscode-eslint
// .vscode/settings.json
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": [
"html",
"javascript",
"typescript",
"typescript",
],
"editor.formatOnSave": true,
"[javascript]": {
"editor.formatOnSave": false
},
"[javascriptreact]": {
"editor.formatOnSave": false
},
"[typescript]": {
"editor.formatOnSave": false
},
"[typescriptreact]": {
"editor.formatOnSave": false
}
}
ESLint couldn't find the plugin "eslint-plugin-jest"
Unfortunately eslint
doesn't officially support plugins as dependencies in shareable configs (See eslint#3458).
The result is, that eslint
doesn't find these plugins.
However, we want this package to be as convient to use as possible, so we don't plan to add these plugins as peerDependencies.
If you see a complain like "eslint-plugin-jest"
, simply install this dependency explicitly:
yarn add --dev --exact eslint-plugin-jest
With more recent package managers, dependencies are installed in a flat way.
That means, that dependencies and secondary dependencies are installed directly in the top level node_modules
directory (See how npm3 works).
Parsing error: Cannot read file [...]tsconfig
Reference directly to your .tsconfig
.
//.eslintrc
{
// ...
"parserOptions": {
"project": "./tsconfig.json"
},
// ...
}
See LICENSE.
FAQs
This package provides Porsche Digital's eslint-config as an extensible shared config.
We found that @porscheofficial/eslint-config-porschedigital-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.