Skip to content

Commit e7a3bf3

Browse files
authored
feat: support eslint v9 (#89)
* refactor: migrate to antfu's config * chore: remove format feature * chore: rename all configs' name with `jhqn` prefix * fix: cli-suggest-remove-files * fix: ignore `.yarn` folder * chore: remove `eslint-plugin-react-refresh` * feat: add config compat * feat: add config regexp * feat: improve cli * chore: replace `eslint-plugin-x` with `eslint-plugin-import-x` * fix(cli): git clean check * feat: support more fields of packageJson as ascending order * feat: automatically rename plugins in factory * fix: support eslint v9 * feat: graphql glob that supports .qgl extensions * feat: support flat config pipeline * chore: update deps * feat: improve types for rules * chore: update typegen * feat: more relax types for merging * fix(cli): make frameworks not required * fix: consistent on config names * docs: move to `@eslint/config-inspector` * feat: generate types for core rules as well * chore: update deps * feat: update names for all config items * fix: move `no-new-symbol` to `no-new-native-nonconstructor` * feat: try inspector build * chore: try fix windows * feat: support solid.js * docs: mention Solid support * feat: improve `no-unused-vars` options * chore: update dev script * fix: don't create new test plugin for every run * chore: update deps * chore: remove old configs * ci: codesandbox * ci: codesandbox * ci: codesandbox * fix(stylistic): turn off 'antfu/top-level-function' * docs: rename composer * fix: what if enable stylistic by default and remove all config * Revert "fix: what if enable stylistic by default and remove all config" This reverts commit 6313724. * fix: adjust `unused-imports/no-unused-vars` * chore: update deps * feat: improve types support * feat(svelte): add support for typing according to sveltejs/rfcs#38 * feat: support `lessOpinionated` option * refactor: migrate from eslint-plugin-react to eslint react * chore: update deps * fix: turn off `import/no-deprecated` * fix: turn on `ts/no-shadow` * chore: update deps * feat: add `eslint-plugin-react-refresh` * feat: add `eslint-plugin-command` * chore: update vscode settings * chore: update release action * feat: update stylistic and ts-eslint * feat: add rule `vue/script-indent` * feat: turn off `style/indent` for vue files * fix: config rule `vue/script-indent` * fix: config style rules * fix: config rule `vue/brace-style` * fix: config rule `style/brace-style` * fix: config rule `curly`
1 parent cdb76dd commit e7a3bf3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+11790
-3923
lines changed

.codesandbox/ci.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"buildCommand": false,
3-
"packages": ["packages/*"],
2+
"buildCommand": "build",
3+
"packages": ["./"],
44
"sandboxes": [
55
"vue-vite-ts-p6k75t",
66
"react-vite-ts-ny79d2"
77
],
8-
"node": "18"
8+
"node": "20"
99
}

.eslintrc.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/renovate.json5

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
extends: ["config:base", "schedule:weekly", "group:allNonMajor"],
3-
labels: ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"],
4-
rangeStrategy: "bump",
5-
semanticCommits: "auto",
6-
packageRules: [
2+
"extends": ["config:base", "schedule:weekly", "group:allNonMajor"],
3+
"labels": ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"],
4+
"rangeStrategy": "bump",
5+
"semanticCommits": "auto",
6+
"packageRules": [
77
{
88
"matchPackagePatterns": ["*"],
99
"rangeStrategy": "replace"
@@ -16,5 +16,5 @@
1616
"depTypeList": ["devDependencies"],
1717
"automerge": true
1818
}
19-
],
19+
]
2020
}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set node
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: 18
25+
node-version: lts/*
2626
cache: pnpm
2727
registry-url: 'https://registry.npmjs.org'
2828

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,11 @@ dist
7777
# IDE
7878
.idea
7979

80-
*.lerna_backup
80+
*.lerna_backup
81+
_fixtures
82+
83+
.temp
84+
.history
85+
86+
src/typegen.d.ts
87+
.eslint-config-inspector

.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
strict-peer-dependencies=false
22
prefer-frozen-lockfile=false
3+
shamefully-hoist=true
4+
ignore-workspace-root-check=true
5+
shell-emulator=true
6+
dedupe-direct-deps=true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/Iron

0 commit comments

Comments
 (0)