Skip to content

Commit

Permalink
Adds autocompletion in .eslintrc.cjs files (#11091)
Browse files Browse the repository at this point in the history
* Support autocompletion

* Support autocompletion

* Support autocompletion

* Support autocompletion

* Update packages/create-svelte/shared/+eslint-typescript/.eslintrc.cjs

* Update packages/create-svelte/shared/+eslint+typescript/.eslintrc.cjs

* Update packages/create-svelte/shared/+eslint+prettier-typescript/.eslintrc.cjs

* Create spotty-eagles-sit.md

* Update packages/create-svelte/shared/+eslint+prettier+typescript/.eslintrc.cjs

---------

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
  • Loading branch information
danniscript and benmccann authored Nov 22, 2023
1 parent 09e77e8 commit 07c76b1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-eagles-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-svelte": patch
---

chore: add type declaration to `.eslintrc.cjs` files
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type { import("eslint").Linter.FlatConfig } */
module.exports = {
root: true,
extends: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type { import("eslint").Linter.FlatConfig } */
module.exports = {
root: true,
extends: ['eslint:recommended', 'plugin:svelte/recommended', 'prettier'],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type { import("eslint").Linter.FlatConfig } */
module.exports = {
root: true,
extends: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type { import("eslint").Linter.FlatConfig } */
module.exports = {
root: true,
extends: ['eslint:recommended', 'plugin:svelte/recommended'],
Expand Down

0 comments on commit 07c76b1

Please sign in to comment.