
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
eslint-plugin-momentum
Advanced tools
ESLint Plugin to enforce Momentum Design System
First, make sure that you have ESLint installed in your project:
$ yarn add eslint --dev
Then, you can simply install eslint-plugin-momentum
:
$ yarn add eslint-plugin-momentum --dev
Add eslint-plugin-momentum
at your .eslintrc
config file.
{
"plugins": ["momentum"]
}
Then, you can add any available rules. For example, if you want to add import-from-index
rule, simply declare it at rules section:
{
"rules": {
"momentum/import-from-index": "error"
}
}
This section is applicable only for @traveloka/district-core and @traveloka/momentum-wg members
To publish the package, run this command on the package root directory.
Note: Make sure to stash or commit your uncommited changes. This command will make you push a tag and a commit directly to the master branch of
traveloka/eslint-plugin-momentum
repo.
yarn publish:git [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
# make sure everything is right before pushing it into upstream
git push upstream master --follow-tags # Push the commit and tag directly to upstream
FAQs
ESLint Plugin to enforce Momentum Design System
The npm package eslint-plugin-momentum receives a total of 54 weekly downloads. As such, eslint-plugin-momentum popularity was classified as not popular.
We found that eslint-plugin-momentum 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.