File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 4949 "eslint-plugin-react-hooks" : " ^4.6.0" ,
5050 "eslint-plugin-react-refresh" : " ^0.4.4" ,
5151 "eslint-plugin-svelte" : " ^2.34.1" ,
52- "eslint-plugin-unicorn" : " ^50.0.1" ,
5352 "svelte-eslint-parser" : " ^0.33.1"
5453 },
5554 "peerDependenciesMeta" : {
7776 "eslint-plugin-svelte" : {
7877 "optional" : true
7978 },
80- "eslint-plugin-unicorn" : {
81- "optional" : true
82- },
8379 "svelte-eslint-parser" : {
8480 "optional" : true
8581 }
106102 "eslint-plugin-no-only-tests" : " ^3.1.0" ,
107103 "eslint-plugin-perfectionist" : " ^2.5.0" ,
108104 "eslint-plugin-toml" : " ^0.8.0" ,
105+ "eslint-plugin-unicorn" : " ^50.0.1" ,
109106 "eslint-plugin-unused-imports" : " ^3.0.0" ,
110107 "eslint-plugin-vitest" : " ^0.3.20" ,
111108 "eslint-plugin-vue" : " ^9.19.2" ,
Original file line number Diff line number Diff line change 11import { StylisticConfigDefaults } from '.' ;
22import type { FlatConfigItem , OptionsOverrides , OptionsStylistic } from '../types' ;
3- import { ensurePackages , interopDefault } from '../utils' ;
3+ import { interopDefault } from '../utils' ;
44
55export async function unicorn (
66 options : OptionsOverrides & OptionsStylistic = { } ,
@@ -16,11 +16,6 @@ export async function unicorn(
1616 ...StylisticConfigDefaults ,
1717 ...stylistic ,
1818 } ;
19-
20- await ensurePackages ( [
21- 'eslint-plugin-unicorn' ,
22- ] ) ;
23-
2419 // @ts -expect-error no types
2520 const pluginUnicorn = await interopDefault ( import ( 'eslint-plugin-unicorn' ) ) ;
2621
You can’t perform that action at this time.
0 commit comments