PleahMaCaka / SEOA-old

there is noting stuff
MIT License
3 stars 0 forks source link

(JS-0359) Detected the use of require statements except in import statements #2

Closed PleahMaCaka closed 2 years ago

PleahMaCaka commented 2 years ago

Description

In other words, the use of forms such as var foo = require("foo") are banned. Instead use ES6 style imports or import foo = require("foo") imports. Example - The not-preferred way :

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/PleahMaCaka/SEOA/issue/JS-0359/occurrences/

PleahMaCaka commented 2 years ago

resloved