Skip to content

Instantly share code, notes, and snippets.

@lakshyabatman
Created November 15, 2020 12:23
Show Gist options
  • Save lakshyabatman/9d7c7e25863fbc3c9be043418d22ee66 to your computer and use it in GitHub Desktop.
Save lakshyabatman/9d7c7e25863fbc3c9be043418d22ee66 to your computer and use it in GitHub Desktop.
Eslint Plugin error
AssertionError [ERR_ASSERTION]: A fatal parsing error occurred: Parsing error: Unexpected token >
    at runRuleForItem (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:559:13)
    at testValidTemplate (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:605:28)
    at Function.<anonymous> (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:885:25)
    at Function.itDefaultHandler (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:294:23)
    at /Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:884:32
    at Array.forEach (<anonymous>)
    at Function.<anonymous> (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:883:28)
    at Function.describeDefaultHandler (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:311:19)
    at Function.<anonymous> (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:882:24)
    at Function.describeDefaultHandler (/Users/lakshya/Desktop/projects/my-eslint-plugin/node_modules/eslint/lib/rule-tester/rule-tester.js:311:19) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment