Skip to content

Commit

Permalink
ESLint support for import attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Apr 12, 2024
1 parent c27696e commit 877615c
Show file tree
Hide file tree
Showing 4 changed files with 1,376 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
module.exports = {
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module',
ecmaFeatures: {
jsx: true
},
requireConfigFile: false,
babelOptions: {
plugins: [
'@babel/plugin-syntax-import-assertions'
],
presets: ['@babel/preset-react']
}
},
env: {
Expand Down
Loading

0 comments on commit 877615c

Please sign in to comment.