
Security News
Python Adopts Standard Lock File Format for Reproducible Installs
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
@pinnacle0/eslint-plugin
Advanced tools
This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.
This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.
This package includes a config which wraps multiple other eslint plugins and presets.
For our config to work properly, @pinnacle0/eslint-plugin
has to be installed along with
all these plugins and presets ("peer dependencies").
Install @pinnacle0/eslint-plugin and the required peer dependencies:
$ yarn add --dev --exact \
@pinnacle/eslint-plugin \
eslint \
@typescript-eslint/parser \
@typescript-eslint/eslint-plugin \
eslint-config-prettier \
eslint-plugin-react \
eslint-plugin-react-hooks \
eslint-plugin-import \
eslint-plugin-eslint-comments
Create .eslintrc.js
at the project root directory:
module.exports = {
extends: ["plugin:@pinnacle0/baseline"],
};
Add lint
script to package.json
:
{
// ...
"scripts": {
// ...
"lint": "eslint --ext .js,.jsx,.ts,.tsx ."
}
}
Run linter:
$ yarn lint
It is recommended to use the latest version of all packages.
To upgrade, run (use arrow keys and space to select packages):
$ yarn upgrade-interactive --latest
Commit your changes:
$ git commit -am "Upgraded dependencies"
To make sure transitive dependencies locked by yarn.lock
can also be upgraded, run:
$ npx yarn-deduplicate
Review the changes of yarn.lock
if they make sense, then commit your changes:
$ git commit -a --amend --no-edit
FAQs
This package provides customized eslint rules for Pinnacle and a baseline config for react/typescript projects.
The npm package @pinnacle0/eslint-plugin receives a total of 99 weekly downloads. As such, @pinnacle0/eslint-plugin popularity was classified as not popular.
We found that @pinnacle0/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Python has adopted a standardized lock file format to improve reproducibility, security, and tool interoperability across the packaging ecosystem.
Security News
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.