From ce33de66fca421f18cc43a68c6f32f083bd035e2 Mon Sep 17 00:00:00 2001 From: Joshua Coady Date: Fri, 29 Oct 2021 12:57:58 -0700 Subject: [PATCH] make eslint config env agnostic If I understand correctly, the babel parser should only be used if you are using babel, which makes this a little problematic for node projects. Maybe there should be extensions that are for a targeted env or purpose? --- packages/eslint-config/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js index b312a75..c92e556 100644 --- a/packages/eslint-config/index.js +++ b/packages/eslint-config/index.js @@ -2,7 +2,6 @@ const prettierConfig = require('@lovetoknow/prettier-config') module.exports = { extends: ['eslint:recommended', 'plugin:prettier/recommended'], - parser: 'babel-eslint', parserOptions: { ecmaVersion: 2018, },