Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjiaxuan committed Jan 11, 2024
1 parent 6069b01 commit 514ecf8
Show file tree
Hide file tree
Showing 10 changed files with 2,241 additions and 2,962 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
1. Select a single line or **multiple lines** which have rule problems from the extension of ESLint IntelliSense, and it can either disable rules on selected lines by `ctrl + alt + d` or disable for the entire file by `ctrl + alt + e`.
2. Disable all problem rules by `ctrl + alt + a`.


> **Note**
>
>
> It doesn't need to select all text of lines. See the preview below.
## Preview
Expand All @@ -31,7 +30,6 @@ For single line.

![single](assets/1.gif)


For multiple lines, you can press `ctrl + d` to select another pair of rules on the other side.

![multiple](assets/2.gif)
Expand Down
8 changes: 2 additions & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// import lvjiaxuan from '@lvjiaxuan/eslint-plugin/flat'
import lv from '@lvjiaxuan/eslint-config'

// /** @type {import('eslint').Linter.FlatConfig} */
// export default lvjiaxuan.configs.recommended

const lvjiaxuan = require('@lvjiaxuan/eslint-plugin/flat')
module.exports = lvjiaxuan.configs.recommended
export default lv()
Loading

0 comments on commit 514ecf8

Please sign in to comment.