Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@putstack/eslint-config-typescript
Advanced tools
This ESLint setup should let any new (or existing) projects adhere to best practices within TypeScript and write fewer bugs as a result! The default version is quite strict, so an existing project might opt for using the base version, see more under Usage.
To install this package run the following command in the terminal in the root directory of your application.
npm install --save-dev @putstack/eslint-config-typescript
OR
yarn add -D @putstack/eslint-config-typescript
Ensure that your ESLint configuration is setup to utilize TypeScript's type checking API by following this guide.
Add this to your config by editing your .eslintrc.cjs or equivalent.
{
extends: ['@putstack/typescript'],
}
If the default is too strict on an existing project, you can also use the base
to exclude some of the more strict rules.
To see what is dincluded in which package, please view this section.
{
extends: ['@putstack/typescript/base']
}
This project uses the configuration on itself, as seen in the root .eslintrc.cjs file.
This is a list of the plugins and configurations that are extended from.
Recommended extends the base setup further to add additional rules, therefore it also includes all the rules above.
FAQs
ESLint config for TypeScript
The npm package @putstack/eslint-config-typescript receives a total of 17 weekly downloads. As such, @putstack/eslint-config-typescript popularity was classified as not popular.
We found that @putstack/eslint-config-typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.