
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@solid/eslint-config-base
Advanced tools
Solid defaults for eslinting.
npm install --save-dev @solid/eslint-config-base
npx install-peerdeps -D @solid/eslint-config-base
.eslintrc.js
extending base configuration
printf 'module.exports = {\n extends: [ "@solid/eslint-config-base" ]\n};\n' > .eslintrc.js
Requires both './tsconfig.json'
and './test/tsconfig.json'
.
Create a simple tests TypeScript configuration extending from the base one:
{
"extends": "../tsconfig.json",
"include": [
"."
]
}
Why is './test/tsconfig.json'
required?
'./tsconfig.json'
which should not include the test
directory for parser options.@typescript-eslint/parser
needs to know how to parse all TypeScript files.Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: <TEST_FILE>
The file must be included in at least one of the projects provided.
Therefore @typescript-eslint/parser
's project parser options has './tsconfig.json'
and './test/tsconfig.json'
.
Linting will error if './test/tsconfig.json'
is missing from a TypeScript project using @solid/eslint-config-base
.
FAQs
Solid defaults for eslinting.
The npm package @solid/eslint-config-base receives a total of 17 weekly downloads. As such, @solid/eslint-config-base popularity was classified as not popular.
We found that @solid/eslint-config-base demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.