Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@grafana/eslint-config
Advanced tools
Grafana's ESLint config.
yarn add @grafana/eslint-config --dev
or:
npm install @grafana/eslint-config --save-dev
Don't forget to install peerDependencies.
npm info "@grafana/eslint-config@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev @grafana/eslint-config
If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly.
Otherwise, run npm info "@grafana/eslint-config@latest" peerDependencies
to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version>
for each listed peer dependency.
{
"extends": ["@grafana/eslint-config"]
}
It will automatically handle *.(js|ts|tsx)
files.
Publishing is handled by github actions which is triggered by a merge to master that contains a change to the version property in the package.json
file. You can either do that manually or use the command below to version bump, commit and tag.
npm version [<newversion> | major | minor | patch ]
Also be sure to update any official packages that depend on this with fixes and version increases.
It's probable that any change will be a breaking one, so it's best to stick to major version releases.
FAQs
Grafana's ESLint config
We found that @grafana/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 22 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
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.