From 33b856c5f26c9c872464dcf3621d51c1dc87dcbd Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Mon, 2 Sep 2024 23:45:37 +0200 Subject: [PATCH] remove eslint ci --- .github/workflows/lint.yml | 21 --------------------- tsconfig.json | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 21 deletions(-) create mode 100644 tsconfig.json diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 32b4a18..918d9e4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,27 +5,6 @@ on: pull_request: types: [opened, synchronize] jobs: - lint-eslint: - name: Run lint:eslint - runs-on: ubuntu-latest - steps: - - name: Checkout the repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version-file: '.nvmrc' - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Run lint:eslint - run: | - npm run lint:eslint - env: - CI: true lint-prettier: name: Run lint:prettier runs-on: ubuntu-latest diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..7317e84 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "allowSyntheticDefaultImports": true, + "baseUrl": ".", + "module": "ES2020", + "moduleResolution": "Bundler", + "isolatedModules": true, + + "jsx": "preserve", + + "paths": { + "@/*": ["/index.ts"] + }, + "resolveJsonModule": true, + "sourceMap": true, + "strict": true, + "target": "ES2020" + }, + "include": ["**/*.ts"] +}