eslint-plugin-htmlacademy
TypeScript icon, indicating that this package has built-in type declarations

0.0.29 • Public • Published

eslint-plugin-htmlacademy

Rules collection for javascript intensives

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-htmlacademy:

$ npm install eslint-plugin-htmlacademy --save-dev

Usage

Add htmlacademy to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "htmlacademy"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "htmlacademy/array-names-plural": 1,
        "htmlacademy/class-enumeration-names": 1,
        "htmlacademy/function-starts-verb": 1,
        "htmlacademy/value-single-noun": 1
    }
}

Supported Rules

  • Array names should be plural nouns (array-names-plural)
  • Class/enumeration name should be noun starting with uppercase letter (class-enumeration-names)
  • Function/method name should start with verb (function-starts-verb)
  • Value name should be single noun (value-single-noun)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.290latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.290
0.0.2814
0.0.270
0.0.260
0.0.250
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i eslint-plugin-htmlacademy

Weekly Downloads

14

Version

0.0.29

License

ISC

Unpacked Size

84.5 kB

Total Files

73

Last publish

Collaborators

  • kaineer