Extract code from js utilities (#18770)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
04d90fd5b5
commit
16eb5096b6
71 files changed
+384
-384
No files matched your search
+7
-1
@@ -445,7 +445,7 @@ const configs = [
|
||||
"prettier-internal-rules/no-node-comments": [
|
||||
"error",
|
||||
{
|
||||
file: "src/language-js/utilities/index.js",
|
||||
file: "src/language-js/utilities/comments.js",
|
||||
functions: ["hasComment", "getComments"],
|
||||
},
|
||||
"src/language-js/pragma.js",
|
||||
@@ -512,6 +512,12 @@ const configs = [
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["src/language-js/utilities/utilities.js"],
|
||||
rules: {
|
||||
"unicorn/prefer-export-from": ["error", { ignoreUsedVariables: false }],
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export default configs;
|
||||
Reference in new issue
Block a user