Skip to content

Commit

Permalink
Get standardx actually working
Browse files Browse the repository at this point in the history
Dropping in `standardx` in place of `standard` didn't immediately work!

The first problem was an error `Failed to load config "standard" to extend from`. There was no consensus online how to fix this, some people suggested installing a bunch of ESLint modules, however we found that simply reinstalling `standard` did the trick.

The second problem was numerous `Parsing error: Invalid ecmaVersion` errors. This seems to be an incompatibility between `standardx` and `eslint`, where `eslint` defaults to ecmaVersion 13 but `standardx` isn't compatible with this. Enforcing ecmaVersion 12 in our `package.json` resolved this.
  • Loading branch information
StuAA78 committed Jan 6, 2023
1 parent 00b9a72 commit 4b90703
Show file tree
Hide file tree
Showing 2 changed files with 688 additions and 118 deletions.
Loading

0 comments on commit 4b90703

Please sign in to comment.