Skip to content

Commit

Permalink
build: eslint update
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Jan 16, 2023
1 parent 5d02793 commit 6a0a70c
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
packages/**/dist/*.js
packages/**/build/*.js
packages/**/npm/**/*
packages/**/config/*.js
packages/playwright
packages/playwright-core
packages/**/vite.config.js
packages/**/vite.prod.config.js
**/*.md
**/node_modules
flow-typed
.github/CODEOWNERS
.prettierignore
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"eslint.validate": ["javascript", "javascriptreact", "svelte"],
"files.eol": "\n",
"prettier.singleQuote": true,
"editor.formatOnSave": true
"editor.formatOnSave": true,
"svelte.plugin.svelte.compilerWarnings": {
"a11y-no-noninteractive-tabindex": "ignore"
}
}
1 change: 1 addition & 0 deletions demos/playground/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist/
1 change: 1 addition & 0 deletions demos/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build": "vite build",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"lint": "eslint .",
"test-e2e-ci:chromium": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:chromium",
"test-e2e-ci:firefox": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:firefox",
"test-e2e-ci:webkit": "cross-env E2E_PORT=4000 start-server-and-test prepare-ci 4000 test-e2e:webkit",
Expand Down
2 changes: 2 additions & 0 deletions packages/svelte-lexical/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/dist/
rollup.config.js
4 changes: 3 additions & 1 deletion packages/svelte-lexical/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"build": "rollup -c",
"prepublishOnly": "npm run build",
"test": "jest src",
"test:watch": "npm run test -- --watch"
"test:watch": "npm run test -- --watch",
"lint": "eslint .",
"svelte-check": "svelte-check"
},
"devDependencies": {
"@babel/core": "^7.20.5",
Expand Down

0 comments on commit 6a0a70c

Please sign in to comment.