
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.
@blockstack/eslint-config
Advanced tools
A set of ESLint configuration and rules for use in Blockstack internal projects.
yarn add --dev eslint @blockstack/eslint-config
# or, with npm
npm install --save-dev eslint @blockstack/eslint-config
Then, create or modify your .eslintrc.js
file to extend this config:
module.exports = {
extends: "@blockstack",
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
ecmaVersion: 2019,
sourceType: 'module',
},
}
Finally, modify your package.json
file to use our prettier config, which is already installed as a dependency of this package.
{
"prettier": "@blockstack/prettier-config"
}
This configuration includes a bunch of rules that have become standard in our JavaScript projects. However, if you feel the need to override a rule, you can always do so by simply adding rules
to your .eslintrc.js
file.
module.exports = {
extends: ["@blockstack"],
rules: {
"@typescript-eslint/no-use-before-define": [2],
}
}
FAQs
A re-usable ESLint config for Blockstack projects
The npm package @blockstack/eslint-config receives a total of 7 weekly downloads. As such, @blockstack/eslint-config popularity was classified as not popular.
We found that @blockstack/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 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
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.