Skip to content

Commit 7d873fc

Browse files
committed
remove eslint config until we update it
1 parent a79af1d commit 7d873fc

File tree

6 files changed

+29
-24
lines changed

6 files changed

+29
-24
lines changed

.eslintignore

-2
This file was deleted.

.eslintrc.json

-7
This file was deleted.

.github/workflows/publish.yml

-15
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,8 @@ env:
1414
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1515

1616
jobs:
17-
test:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- name: checkout
21-
uses: actions/checkout@v4
22-
23-
- name: set up node and pnpm
24-
run: |
25-
corepack enable
26-
pnpm i
27-
28-
- name: test
29-
run: pnpm test
30-
3117
publish-npm:
3218
if: startsWith(github.ref, 'refs/tags/v')
33-
needs: test
3419
runs-on: ubuntu-latest
3520
steps:
3621
- name: checkout

eslint.config.mjs.disabled

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import path from "node:path";
2+
import { fileURLToPath } from "node:url";
3+
import js from "@eslint/js";
4+
import { FlatCompat } from "@eslint/eslintrc";
5+
6+
const __filename = fileURLToPath(import.meta.url);
7+
const __dirname = path.dirname(__filename);
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
recommendedConfig: js.configs.recommended,
11+
allConfig: js.configs.all
12+
});
13+
14+
export default [{
15+
ignores: ["**/package", "**/.svelte-kit"],
16+
}, ...compat.extends("@beyonk/eslint-config/svelte"), {
17+
languageOptions: {
18+
ecmaVersion: 2020,
19+
sourceType: "module",
20+
},
21+
}];

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
},
1010
"devDependencies": {
1111
"@beyonk/eslint-config": "^8.0.2",
12+
"@eslint/eslintrc": "^3.1.0",
13+
"@eslint/js": "^9.14.0",
1214
"@sveltejs/kit": "^2.8.0",
1315
"@sveltejs/vite-plugin-svelte": "^4.0.0",
1416
"eslint": "^9.14.0",

pnpm-lock.yaml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)