Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@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
The npm package @webdev-tools/tslint-airbnb-styleguide receives a total of 4 weekly downloads. As such, @webdev-tools/tslint-airbnb-styleguide popularity was classified as not popular.
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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.