0.0.29 • Published 1 year ago

eslint-plugin-htmlacademy v0.0.29

Weekly downloads
66
License
ISC
Repository
-
Last release
1 year ago

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)
0.0.29

1 year ago

0.0.28

2 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago