0.0.21 • Published 29 days ago

eslint-plugin-strict-check v0.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
29 days ago

eslint-plugin-strict-check

  • Niche rules for eslint.

Installation

# by yarn
$ yarn add -D eslint-plugin-strick-check

# by npm
$ npm i --save-dev eslint-plugin-strick-check

Enable plugin at .eslintrc.js

module.exports = {
    plugins: ["strict-check"],
    rules: {
        ...
    },
}

Rules

NameDescriptionConfigurations
avoid-risky-input-typeAvoid risky input typereact
file-path-patternsCheck if file path follows regular expression
forbidden-hard-coding-hrefForbidden hard coding href
forbidden-multiple-named-exportsForbidden the multiple named exports at one file
forbidden-use-react-hooksForbidden the use react hooks at specify path
individual-importImport them individualreact
event-handler-prefixAlign prefix of event handlerreact
match-names-of-file-and-exportMatch name of filename and export targetvanilla react
restrict-use-of-process-envRestrict environment usagevanilla react

License

0.0.21

29 days ago

0.0.20

3 months ago

0.0.19

3 months ago

0.0.16

6 months ago

0.0.17

6 months ago

0.0.18

6 months ago

0.0.13

8 months ago

0.0.14

8 months ago

0.0.15

8 months ago

0.0.11

8 months ago

0.0.12

8 months ago

0.0.3

2 years ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

1 year ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago