0.0.29 • Published 2 years ago

eslint-plugin-htmlacademy v0.0.29

Weekly downloads
66
License
ISC
Repository
-
Last release
2 years 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

2 years ago

0.0.28

3 years ago

0.0.26

4 years ago

0.0.27

4 years ago

0.0.25

4 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago