Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@webdev-tools/tslint-airbnb-styleguide
Advanced tools
A TSLint config for Airbnb JavaScript Styleguide highly opinionated
A TSLint config for Airbnb JavaScript Style Guide highly opinionated and customizable
This project is inspirrated by tslint-config-airbnb.
The main difference is that this project also includes more rules provided not only by eslint but also by TsLint to strict even more the validations.
npm i -S @webdev-tools/tslint-airbnb-styleguide
You can remove all rules on your tslint.json
and only set:
{
"extends": "tslint-airbnb-styleguide"
}
Angular has its own Style Guide and requires additional rules:
{
"extends": "tslint-airbnb-styleguide",
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"directive-selector": [
true,
"attribute",
["app"],
"camelCase"
],
"component-selector": [
true,
"element",
["app"],
"kebab-case"
],
"no-output-on-prefix": true,
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"no-unused-variable": true
}
}
Apache 2.0
FAQs
A TSLint config for Airbnb JavaScript Styleguide highly opinionated
We found that @webdev-tools/tslint-airbnb-styleguide demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.