|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
414 bytes
|
| Line | |
|---|
| 1 | /**
|
|---|
| 2 | * @fileoverview Common utils for directives.
|
|---|
| 3 | *
|
|---|
| 4 | * This file contains only shared items for directives.
|
|---|
| 5 | * If you make a utility for rules, please see `../rules/utils/ast-utils.js`.
|
|---|
| 6 | *
|
|---|
| 7 | * @author gfyoung <https://github.com/gfyoung>
|
|---|
| 8 | */
|
|---|
| 9 | "use strict";
|
|---|
| 10 |
|
|---|
| 11 | const directivesPattern = /^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u;
|
|---|
| 12 |
|
|---|
| 13 | module.exports = {
|
|---|
| 14 | directivesPattern
|
|---|
| 15 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.