mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 14:14:36 +01:00
refactor
This commit is contained in:
1 parent
fc2547bd59
commit
231006e61d
2143 files changed
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @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>
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
const directivesPattern = /^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u;
|
||||
|
||||
module.exports = {
|
||||
directivesPattern
|
||||
};
|
||||
Reference in new issue
Block a user