
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@alexasselin/eslint-plugin1
Advanced tools
@sharegate/eslint-plugin
ShareGate’s ESLint configs.
Install the package.
With npm
npm i --save-dev @sharegate/eslint-plugin
With yarn
yarn add --dev @sharegate/eslint-plugin
ShareGate’s ESLint configs come bundled in this package. In order to use them, you simply extend the relevant configuration in your project’s .eslintrc. For example, if you are developing an application using TypeScript and React, using third party like lodash :
"extends": [
"plugin:@sharegate/recommended",
"plugin:@sharegate/sort-imports",
"plugin:@sharegate/typescript",
"plugin:@sharegate/react",
"plugin:@sharegate/lodash",
]
Language-specific configs.
Language/Package Name | Config | Description |
---|---|---|
JavaScript - recommended | "plugin:@sharegate/recommended" | Use this for all JavaScript/TypeScript projects. |
JavaScript - sort-imports | "plugin:@sharegate/sort-imports" | Use this for JavaScript/TypeScript projects. |
typescript | "plugin:@sharegate/typescript" | Use this for TypeScript projects. |
react | "plugin:@sharegate/react" | Use this for React projects. |
nextjs | "plugin:@sharegate/nextjs" | Use this for NextJs projects. |
Third-party-specific configs.
Third party | Config | Description |
---|---|---|
lodash | "plugin:@sharegate/lodash" | Use this for projects using lodash. |
This plugin provides the following custom rules, which are included as appropriate in all core linting configs:
Copyright © 2023, GSoft inc. This code is licensed under the Apache License, Version 2.0. You may obtain a copy of this license at https://github.com/gsoft-inc/gsoft-license/blob/master/LICENSE.
FAQs
Sharegates ESLint rules and configs.
We found that @alexasselin/eslint-plugin1 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.