
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@doist/eslint-config
Advanced tools
@doist/eslint-config
Doist ESLint config.
npm install --save-dev @doist/eslint-config
.eslintrc
{
// ...
"extends": [
// ...
// Core set of rules, recommended for all projects.
"@doist/eslint-config/recommended",
// Additional rules requiring type information (recommended for TypeScript projects).
"@doist/eslint-config/recommended-type-checked",
// Additional rules for sorting/grouping import statements (optional)
"@doist/eslint-config/simple-import-sort"
// Recommended for projects using React.
"@doist/eslint-config/react"
],
// When using `recommended-type-checked`,
// you need to link to `tsconfig.eslint.json` file (see section below) for the project.
"parserOptions": {
"project": "tsconfig.eslint.json"
}
}
For type-based rules to work, project's tsconfig.json
file needs to be specified in parserOptions.project
. If you want to lint files not included in build, we recommend
creating a separate tsconfig.eslint.json
config and specifying it instead of the default one.
This project uses semantic versioning. A new version will be published to both npm and GitHub Package Registry when a new tag is pushed. Please make sure an entry is added to CHANGELOG.md.
git checkout main
npm version <major|minor|patch>
git push --follow-tags
FAQs
> Doist global [eslint](https://eslint.org) config.
We found that @doist/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.