Skip to content

Commit

Permalink
remove eslint config until we update it
Browse files Browse the repository at this point in the history
  • Loading branch information
antony committed Nov 11, 2024
1 parent a79af1d commit 7d873fc
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 24 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .eslintrc.json

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,8 @@ env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: set up node and pnpm
run: |
corepack enable
pnpm i
- name: test
run: pnpm test

publish-npm:
if: startsWith(github.ref, 'refs/tags/v')
needs: test
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down
21 changes: 21 additions & 0 deletions eslint.config.mjs.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [{
ignores: ["**/package", "**/.svelte-kit"],
}, ...compat.extends("@beyonk/eslint-config/svelte"), {
languageOptions: {
ecmaVersion: 2020,
sourceType: "module",
},
}];
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
},
"devDependencies": {
"@beyonk/eslint-config": "^8.0.2",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.14.0",
"@sveltejs/kit": "^2.8.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"eslint": "^9.14.0",
Expand Down
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d873fc

Please sign in to comment.