
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@blitz/eslint-plugin
Advanced tools
An ESLint config to enforce a consistent code styles across StackBlitz projects
An ESLint plugin to enforce a consistent code styles across StackBlitz projects
You'll first need to install ESLint:
$ yarn add -D eslint
Next, install @blitz/eslint-plugin
:
$ yarn add -D @blitz/eslint-plugin
Note: If you installed ESLint globally (using the -g
flag) then you must also install @blitz/eslint-plugin
globally.
Add @blitz/eslint-plugin
to the extends section of your .eslintrc.js
or .eslintrc.json
configuration file and
and configure parser
and parserOptions
. For the plugin, you can omit the eslint-plugin-
:
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"extends": ["plugin:@blitz/recommended"]
}
FAQs
An ESLint config to enforce a consistent code styles across StackBlitz projects
We found that @blitz/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.