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
- a()
- area()
- article()
- aside()
- body()
- button()
- datalist()
- dd()
- details()
- dialog()
- dl()
- dt()
- footer()
- form()
- h1()
- h2()
- h3()
- h4()
- h5()
- h6()
- header()
- hr()
- img()
- input()
- li()
- link()
- main()
- math()
- menu()
- menuitem()
- meter()
- nav()
- ol()
- optgroup()
- option()
- output()
- progress()
- section()
- select()
- summary()
- table()
- tbody()
- td()
- textarea()
- tfoot()
- th()
- thead()
- tr()
- ul()
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.
function footer
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.
function header
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.
function link
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.
function menu
menu: (node: ts.Node) => string;
Returns
the implicit role for a menu tag.
function menuitem
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.
function nav
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)
- src/utils/implicitRoles/a.ts
- src/utils/implicitRoles/area.ts
- src/utils/implicitRoles/article.ts
- src/utils/implicitRoles/aside.ts
- src/utils/implicitRoles/body.ts
- src/utils/implicitRoles/button.ts
- src/utils/implicitRoles/datalist.ts
- src/utils/implicitRoles/dd.ts
- src/utils/implicitRoles/details.ts
- src/utils/implicitRoles/dialog.ts
- src/utils/implicitRoles/dl.ts
- src/utils/implicitRoles/dt.ts
- src/utils/implicitRoles/footer.ts
- src/utils/implicitRoles/form.ts
- src/utils/implicitRoles/h1.ts
- src/utils/implicitRoles/h2.ts
- src/utils/implicitRoles/h3.ts
- src/utils/implicitRoles/h4.ts
- src/utils/implicitRoles/h5.ts
- src/utils/implicitRoles/h6.ts
- src/utils/implicitRoles/header.ts
- src/utils/implicitRoles/hr.ts
- src/utils/implicitRoles/img.ts
- src/utils/implicitRoles/index.ts
- src/utils/implicitRoles/input.ts
- src/utils/implicitRoles/li.ts
- src/utils/implicitRoles/link.ts
- src/utils/implicitRoles/main.ts
- src/utils/implicitRoles/math.ts
- src/utils/implicitRoles/menu.ts
- src/utils/implicitRoles/menuitem.ts
- src/utils/implicitRoles/meter.ts
- src/utils/implicitRoles/nav.ts
- src/utils/implicitRoles/ol.ts
- src/utils/implicitRoles/optgroup.ts
- src/utils/implicitRoles/option.ts
- src/utils/implicitRoles/output.ts
- src/utils/implicitRoles/progress.ts
- src/utils/implicitRoles/section.ts
- src/utils/implicitRoles/select.ts
- src/utils/implicitRoles/summary.ts
- src/utils/implicitRoles/table.ts
- src/utils/implicitRoles/tbody.ts
- src/utils/implicitRoles/td.ts
- src/utils/implicitRoles/textarea.ts
- src/utils/implicitRoles/tfoot.ts
- src/utils/implicitRoles/th.ts
- src/utils/implicitRoles/thead.ts
- src/utils/implicitRoles/tr.ts
- src/utils/implicitRoles/ul.ts
Dependencies (2)
Dev Dependencies (21)
Peer Dependencies (1)
Badge
To add a badge like this oneto 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>
- Updated .
Package analyzed in 7283 ms. - Missing or incorrect documentation? Open an issue for this package.