Skip to content

Commit

Permalink
Use ESM eslint config files
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jun 24, 2022
1 parent fb068fe commit 9d28412
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-foxes-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

Use ESM eslint config files
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
Expand All @@ -17,4 +17,4 @@ module.exports = {
es2017: true,
node: true
}
};
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
root: true,
extends: ['eslint:recommended', 'prettier'],
plugins: ['svelte3'],
Expand All @@ -12,4 +12,4 @@ module.exports = {
es2017: true,
node: true
}
};
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
Expand All @@ -17,4 +17,4 @@ module.exports = {
es2017: true,
node: true
}
};
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
root: true,
extends: ['eslint:recommended'],
plugins: ['svelte3'],
Expand All @@ -12,4 +12,4 @@ module.exports = {
es2017: true,
node: true
}
};
}

0 comments on commit 9d28412

Please sign in to comment.