Spaces:
Sleeping
Sleeping
Download gui/frontend/node_modules/eslint/lib/shared/directives.js from BrianLov/guiBackend: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/spaces/BrianLov/guiBackend/resolve/main/gui/frontend/node_modules/eslint/lib/shared/directives.js
- Command line
-
hf download hf://spaces/BrianLov/guiBackend/gui/frontend/node_modules/eslint/lib/shared/directives.js
-
curl -L -o directives.js https://huggingface.co/spaces/BrianLov/guiBackend/resolve/main/gui/frontend/node_modules/eslint/lib/shared/directives.js
413 Bytes
| /** | |
| * @fileoverview Common utils for directives. | |
| * | |
| * This file contains only shared items for directives. | |
| * If you make a utility for rules, please see `../rules/utils/ast-utils.js`. | |
| * | |
| * @author gfyoung <https://github.com/gfyoung> | |
| */ | |
| ; | |
| const directivesPattern = | |
| /^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u; | |
| module.exports = { | |
| directivesPattern, | |
| }; | |