![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@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:
$ pnpm install --dev \
@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:
$ pnpm lint
It is recommended to use the latest version of all packages.
To upgrade, run (use arrow keys and space to select packages):
$ pnpm up -iLr
Commit your changes:
$ git commit -am "Upgraded dependencies"
Review the changes of pnpm-lock.yaml
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 11 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 4 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.