Skip to content

Commit

Permalink
upgrade ESLint with oimport attributes syntax support
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Jan 28, 2025
1 parent 41cfab3 commit 021c47f
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 155 deletions.
9 changes: 1 addition & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import eslintConfigPrettier from "eslint-config-prettier";
import babelParser from "@babel/eslint-parser";
import markdown from "@eslint/markdown";
import json from "@eslint/json";
import js from "@eslint/js";
Expand All @@ -20,14 +19,8 @@ export default [
},
{
languageOptions: {
parser: babelParser,
parserOptions: {
ecmaVersion: 2022,
sourceType: "module",
requireConfigFile: false,
babelOptions: {
plugins: ["@babel/plugin-syntax-import-assertions"],
},
ecmaVersion: "latest",
},
globals: {
...globals.browser,
Expand Down
Loading

0 comments on commit 021c47f

Please sign in to comment.