Skip to content

Commit

Permalink
Allow override eslint parser
Browse files Browse the repository at this point in the history
  • Loading branch information
protometa committed Feb 23, 2021
1 parent 1e93300 commit 177a643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ async function run (cwd, config) {

const eslint = require(eslintPath)
engine = new eslint.CLIEngine({
parser: babelEslintPath,
resolvePluginsRelativeTo: path.join(__dirname, 'vendor'),
baseConfig: {
parser: babelEslintPath,
plugins: ['jest'],
env: {
'jest/globals': true
Expand Down

0 comments on commit 177a643

Please sign in to comment.