Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
fix: remove eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2023 committed Jul 23, 2023
1 parent 1fc2175 commit 078b2d2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 961 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,6 @@ on:
- next

jobs:
Lint:
runs-on: ubuntu-latest

env:
CYPRESS_INSTALL_BINARY: 0

steps:
- uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.3.1

- name: Set node version to 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm

- name: Install
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm run lint

TypeCheck:
runs-on: ubuntu-latest

Expand Down
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path')

module.exports = {
'packages/**/*.ts?(x)': () => 'npm run type-check',
'*.{js,jsx,ts,tsx,md}': ['prettier --write', 'eslint --fix'],
'*.{js,jsx,ts,tsx,md}': ['prettier --write'],
'packages/*/src/*/index.test.ts?(x)': filenames => {
const files = filenames
.map(filePath => (filePath.includes('test.') ? filePath : filePath.replace('index.', 'index.test.')))
Expand Down
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test:ci": "cypress run --component --quiet --headed",
"test:cov": "cypress --coverage",
"type-check": "tsc --noEmit",
"ci": "npm run type-check && npm run lint && npm run test:ci",
"ci": "npm run type-check && npm run test:ci",
"size": "tsx scripts/export-size.ts",
"update": "tsx scripts/update.ts && npm run size",
"publish:ci": "npm run build && tsx scripts/publish.ts",
Expand All @@ -38,11 +38,6 @@
},
"devDependencies": {
"@dream2023/cypress-ct-solid-js": "^1.0.0",
"@giveerr/eslint-config": "^2.2.3",
"@giveerr/eslint-config-prettier-javascript": "^2.2.3",
"@giveerr/eslint-config-solid": "^2.2.3",
"@giveerr/eslint-config-prettier-typescript": "^2.2.3",
"@giveerr/prettier-config": "^2.2.3",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.13.0",
Expand Down
Loading

0 comments on commit 078b2d2

Please sign in to comment.