Update checked-in dependencies
This commit is contained in:
parent
a0ab4842b5
commit
068ade0b31
93 changed files with 4472 additions and 4635 deletions
8
node_modules/eslint-module-utils/parse.js
generated
vendored
8
node_modules/eslint-module-utils/parse.js
generated
vendored
|
|
@ -35,7 +35,7 @@ exports.default = function parse(path, content, context) {
|
|||
// @typescript-eslint/parser will parse the entire project with typechecking if you provide
|
||||
// "project" or "projects" in parserOptions. Removing these options means the parser will
|
||||
// only parse one file in isolate mode, which is much, much faster.
|
||||
// https://github.com/benmosher/eslint-plugin-import/issues/1408#issuecomment-509298962
|
||||
// https://github.com/import-js/eslint-plugin-import/issues/1408#issuecomment-509298962
|
||||
delete parserOptions.project;
|
||||
delete parserOptions.projects;
|
||||
|
||||
|
|
@ -52,11 +52,7 @@ exports.default = function parse(path, content, context) {
|
|||
console.warn('Line ' + e.lineNumber + ', column ' + e.column + ': ' + e.message);
|
||||
}
|
||||
if (!ast || typeof ast !== 'object') {
|
||||
console.warn(
|
||||
'`parseForESLint` from parser `' +
|
||||
parserPath +
|
||||
'` is invalid and will just be ignored'
|
||||
);
|
||||
console.warn('`parseForESLint` from parser `' + parserPath + '` is invalid and will just be ignored');
|
||||
} else {
|
||||
return ast;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue