
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@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.
The npm package @porscheofficial/eslint-config-porschedigital-react receives a total of 252 weekly downloads. As such, @porscheofficial/eslint-config-porschedigital-react popularity was classified as not popular.
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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.