
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@metahub/eslint-config
Advanced tools
Set of ESLint shareable config.
All the dependencies have to be installed explicitly (see eslint/eslint#3458).
$ npm install @metahub/eslint-config eslint-config-prettier eslint-plugin-ava eslint-plugin-babel eslint-plugin-eslint-comments eslint-plugin-import eslint-plugin-jasmine eslint-plugin-json eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-sort-class-members eslint-plugin-unicorn prettier eslint --save-dev
Alternatively you can use install-peerdeps:
$ npm install install-peerdeps --global
$ npm install @metahub/eslint-config --save-dev
$ install-peerdeps @metahub/eslint-config --dev
Once the @metahub/eslint-config package is installed, you can use it by specifying the different configs in the extends section of your ESLint configuration.
{
extends: [
'@metahub/eslint-config/es6-config',
'@metahub/eslint-config/node-config',
'@metahub/eslint-config/prettier-config',
],
rules: {
// Additional, project specific rules...
}
}
| Name | Description | Extends |
|---|---|---|
@metahub | Base/generic configuration | |
@metahub/eslint-config/jasmine-config | Rules specific to Jasmine | @metahub |
@metahub/eslint-config/import-config | Rules related to ECMAScript 2015 and Node imports | @metahub |
@metahub/eslint-config/node-config | Rules specific to Node JS | @metahub, import-config |
@metahub/eslint-config/es6-config | Rules specific to ECMAScript 2015 | @metahub, import-config |
@metahub/eslint-config/ava-config | Rules specific to AVA | @metahub, es6-config |
@metahub/eslint-config/promise-config | Rules specific to Promises | @metahub, es6-config |
@metahub/eslint-config/async-config | Rules specific to async/await | @metahub, promise-config |
@metahub/eslint-config/prettier-config | To be added last in the extends array when using prettier. Adds eslint-plugin-prettier and eslint-config-prettier |
FAQs
A set of shareable eslint configs
The npm package @metahub/eslint-config receives a total of 7 weekly downloads. As such, @metahub/eslint-config popularity was classified as not popular.
We found that @metahub/eslint-config 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
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.