tslint-clean-code

  • Version 0.2.10
  • Published
  • 1.26 MB
  • 2 dependencies
  • MIT license

Install

npm i tslint-clean-code
yarn add tslint-clean-code
pnpm add tslint-clean-code

Overview

TSLint rules for enforcing Clean Code

Index

Functions

function a

a: (node: ts.Node) => string;
  • Returns

    the implicit role for an anchor tag.

function area

area: (node: ts.Node) => string;
  • Returns

    the implicit role for an area tag.

function article

article: () => string;
  • Returns

    the implicit role for an article tag.

function aside

aside: () => string;
  • Returns

    the implicit role for an aside tag.

function body

body: () => string;
  • Returns

    the implicit role for a body tag.

function button

button: () => string;
  • Returns

    the implicit role for a button tag.

function datalist

datalist: () => string;
  • Returns

    the implicit role for a datalist tag.

function dd

dd: () => string;
  • Returns

    the implicit role for a dd tag.

function details

details: () => string;
  • Returns

    the implicit role for a details tag.

function dialog

dialog: () => string;
  • Returns

    the implicit role for a dialog tag.

function dl

dl: () => string;
  • Returns

    the implicit role for a dl tag.

function dt

dt: () => string;
  • Returns

    the implicit role for a dt tag.

footer: (node: ts.Node) => string;
  • Returns

    the implicit role for a footer tag.

function form

form: () => string;
  • Returns

    the implicit role for a form tag.

function h1

h1: () => string;
  • Returns

    the implicit role for an h1 tag.

function h2

h2: () => string;
  • Returns

    the implicit role for an h2 tag.

function h3

h3: () => string;
  • Returns

    the implicit role for an h3 tag.

function h4

h4: () => string;
  • Returns

    the implicit role for an h4 tag.

function h5

h5: () => string;
  • Returns

    the implicit role for an h5 tag.

function h6

h6: () => string;
  • Returns

    the implicit role for an h6 tag.

header: (node: ts.Node) => string;
  • Returns

    the implicit role for a header tag.

function hr

hr: () => string;
  • Returns

    the implicit role for an hr tag.

function img

img: (node: ts.Node) => string;
  • Returns

    the implicit role for an img tag.

function input

input: (node: ts.Node) => string;
  • Returns

    the implicit role for an input tag.

function li

li: (node: ts.Node) => string;
  • Returns

    the implicit role for an li tag.

link: (node: ts.Node) => string;
  • Returns

    the implicit role for a link tag.

function main

main: () => string;
  • Returns

    the implicit role for a main tag.

function math

math: () => string;
  • Returns

    the implicit role for a math tag.

menu: (node: ts.Node) => string;
  • Returns

    the implicit role for a menu tag.

menuitem: (node: ts.Node) => string;
  • Returns

    the implicit role for a menuitem tag.

function meter

meter: () => string;
  • Returns

    the implicit role for a meter tag.

nav: () => string;
  • Returns

    the implicit role for a nav tag.

function ol

ol: () => string;
  • Returns

    the implicit role for an ol tag.

function optgroup

optgroup: () => string;
  • Returns

    the implicit role for a optgroup tag.

function option

option: () => string;
  • Returns

    the implicit role for an option tag.

function output

output: () => string;
  • Returns

    the implicit role for an output tag.

function progress

progress: () => string;
  • Returns

    the implicit role for a progress tag.

function section

section: () => string;
  • Returns

    the implicit role for a section tag.

function select

select: () => string;
  • Returns

    the implicit role for a select tag.

function summary

summary: () => string;
  • Returns

    the implicit role for a summary tag.

function table

table: () => string;
  • Returns

    the implicit role for a table tag.

function tbody

tbody: () => string;
  • Returns

    the implicit role for a tbody tag.

function td

td: () => string;
  • Returns

    the implicit role for a td tag.

function textarea

textarea: () => string;
  • Returns

    the implicit role for a textarea tag.

function tfoot

tfoot: () => string;
  • Returns

    the implicit role for a tfoot tag.

function th

th: () => string;
  • Returns

    the implicit role for a th tag. The implicit role is columnheader or rowheader, the func only return columnheader.

function thead

thead: () => string;
  • Returns

    the implicit role for a thead tag.

function tr

tr: () => string;
  • Returns

    the implicit role for a tr tag.

function ul

ul: () => string;
  • Returns

    the implicit role for a ul tag.

Package Files (50)

Dependencies (2)

Dev Dependencies (21)

Peer Dependencies (1)

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/tslint-clean-code.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/tslint-clean-code)
  • HTML
    <a href="https://www.jsdocs.io/package/tslint-clean-code"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>