
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@gravitywelluk/eslint-plugin
Advanced tools
Gravitywell defined ESLint rule sets for ESLint.
# Yarn
yarn add -D @gravitywelluk/eslint-plugin
# NPM
npm install --save-dev @gravitywelluk/eslint-plugin
In your .eslintrc file, add the package as a plugin.
plugins: [ "@gravitywelluk/eslint-plugin" ]
There are 4 configurations to choose from:
@gravitywelluk/eslint-recommended@gravitywelluk/typescript-recommended@gravitywelluk/react-recommended@gravitywelluk/react-native-recommendedNote: You will only need to choose ONE from the list above as they inherit each other. Make sure that it is placed last in the extends array.
plugins: [ "@gravitywelluk/eslint-plugin" ]
extends: [ "plugin:@gravitywelluk/react-recommended" ],
@gravitywelluk/eslint-recommendedextends: [ "plugin:@gravitywelluk/eslint-recommended" ],
This includes the following plugins and rules including Gravitywell's own override rules:
@gravitywelluk/typescript-recommendedextends: [ "plugin:@gravitywelluk/typescript-recommended" ],
This includes @gravitywelluk/eslint-recommended and the following plugins and rules :
@gravitywelluk/react-recommendedextends: [ "plugin:@gravitywelluk/react-recommended" ],
This includes @gravitywelluk/typescript-recommended and the following plugins and rules:
@gravitywelluk/react-native-recommendedextends: [ "plugin:@gravitywelluk/react-native-recommended" ],
This includes @gravitywelluk/react-recommended and the following plugins and rules :
To contribute to this package you will need to first setup access to NPM packages.
You will firstly need to create an NPM Access Token. Use the following link on Creating and viewing authentication tokens.
You will then need to add the following to your ~/.npmrc file.
//registry.npmjs.org/:_authToken=ACCESS_TOKEN
Contribute using the Git Truck flow (pull-request > master).
Note: Publishing is automated via a CI workflow.
FAQs
Gravitywell defined ESLint rule sets as an ESLint plugin
The npm package @gravitywelluk/eslint-plugin receives a total of 26 weekly downloads. As such, @gravitywelluk/eslint-plugin popularity was classified as not popular.
We found that @gravitywelluk/eslint-plugin 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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.