
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.
@metastreet/fe-style-guide
Advanced tools
fe-style-guide
is an Eslint configuration for MetaStreet, created to prevent the repetitive task of copying style guidelines for each new project. By consolidating them into a single package, it offers easier maintenance and application.
You can install fe-style-guide
using your preferred package manager:
npm install -D @metastreet/fe-style-guide
or
yarn add -D @metastreet/fe-style-guide
or
pnpm add -D @metastreet/fe-style-guide
Create a file named eslint.config.mjs
in your root folder and copy the following configuration.
import msConfig from '@metastreet/fe-style-guide';
import { defineConfig } from 'eslint/config';
const config = defineConfig(msConfig);
export default config;
fe-style-guide
can be seamlessly integrated with Vscode, Although you may need to setup its settings:
Create a folder named .vscode
in your workspace root.
Create a file inside it named settings.json
.
Paste the following settings:
{
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
}
Happy coding!
FAQs
Metastreet frontend style guide
The npm package @metastreet/fe-style-guide receives a total of 39 weekly downloads. As such, @metastreet/fe-style-guide popularity was classified as not popular.
We found that @metastreet/fe-style-guide demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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
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.