mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-22 00:33:57 +08:00
Add eslint-plugin-simple-import-sort (#219)
* Add eslint-plugin-simple-import-sort * Update .eslintrc.json * eslint --fix
This commit is contained in:
parent
206172ea8e
commit
6c471ae9f6
9 changed files with 23 additions and 3 deletions
|
@ -12,5 +12,12 @@
|
|||
"plugin:prettier/recommended",
|
||||
"prettier/@typescript-eslint"
|
||||
],
|
||||
"plugins": ["@typescript-eslint", "jest"]
|
||||
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
|
||||
"rules": {
|
||||
"import/first": "error",
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-duplicates": "error",
|
||||
"simple-import-sort/sort": "error",
|
||||
"sort-imports": "off"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue