You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading from 2.20.2 to 2.21.1 (2.21.0 also fails) I get this error during linting. The error does not occur if I revert back to 2.20.2 (all other packages the same).
> eslint -c .eslintrc.js --ext .ts src
Oops! Something went wrong! :(
ESLint: 7.2.0
TypeError: Cannot read property 'value' of null
Occurred while linting c:\dev\mob\webservices\src\helpers\auth-helper.ts:2
at ExportNamedDeclaration (c:\dev\mob\webservices\node_modules\eslint-plugin-import\lib\rules\no-internal-modules.js:111:44)
at c:\dev\mob\webservices\node_modules\eslint\lib\linter\safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (c:\dev\mob\webservices\node_modules\eslint\lib\linter\safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (c:\dev\mob\webservices\node_modules\eslint\lib\linter\node-event-generator.js:254:26)
at NodeEventGenerator.applySelectors (c:\dev\mob\webservices\node_modules\eslint\lib\linter\node-event-generator.js:283:22)
at NodeEventGenerator.enterNode (c:\dev\mob\webservices\node_modules\eslint\lib\linter\node-event-generator.js:297:14)
at CodePathAnalyzer.enterNode (c:\dev\mob\webservices\node_modules\eslint\lib\linter\code-path-analysis\code-path-analyzer.js:635:23)
at c:\dev\mob\webservices\node_modules\eslint\lib\linter\linter.js:949:32
at Array.forEach (<anonymous>)
The code in auth-helper.ts starts with:
export class AuthHelper { // This is line 2
public static checkAuth(auth?: string): boolean {
}
}
The text was updated successfully, but these errors were encountered:
After upgrading from 2.20.2 to 2.21.1 (2.21.0 also fails) I get this error during linting. The error does not occur if I revert back to 2.20.2 (all other packages the same).
The code in auth-helper.ts starts with:
The text was updated successfully, but these errors were encountered: