Skip to content

Can't get eslint to work with fresh vite project #18366

Closed Answered by tswaters
tswaters asked this question in Q&A
Discussion options

You must be logged in to vote

Ended up reverting back to the old version of config, not ready for prime-time.

commit 46a030c69670fda110be3620cebc38e498a3bf45
Author: Tyler Waters <tyler.waters@epicure.com>
Date:   Fri Apr 19 14:00:52 2024 -0700

    fix busted eslint

diff --git a/eslint.config.js b/eslint.config.js
deleted file mode 100644
index 1f22a3b..0000000
--- a/eslint.config.js
+++ /dev/null
@@ -1,19 +0,0 @@
-import globals from 'globals'
-import pluginJs from '@eslint/js'
-import pluginReactConfig from 'eslint-plugin-react/configs/recommended.js'
-import eslintConfigPrettier from 'eslint-config-prettier'
-
-export default [
-  { languageOptions: { globals: globals.browser } },
-  pluginJs.configs.recommended,
-

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tswaters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant