Skip to content

Commit

Permalink
update eslint config and add ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Jun 5, 2023
1 parent ed977be commit 722e51d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock
7 changes: 4 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
},
"extends": [
"eslint:recommended",
"prettier",
"plugin:svelte/recommended",
"plugin:svelte/prettier"
"plugin:svelte/prettier",
"prettier"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
"sourceType": "module",
"extraFileExtensions": [".svelte"]
},
"rules": { "svelte/no-dupe-style-properties": "warn" }
}

0 comments on commit 722e51d

Please sign in to comment.