File tree Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Expand file tree Collapse file tree 5 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 1-
21// https://nuxt.com/docs/api/configuration/nuxt-config
32export default defineNuxtConfig ( {
43 devtools : { enabled : true } ,
Original file line number Diff line number Diff line change 4141 "build" : " unbuild" ,
4242 "dev" : " vitest dev" ,
4343 "docs:generate" : " nuxi generate docs" ,
44- "lint" : " eslint --fix ." ,
44+ "lint" : " eslint ." ,
4545 "prepare" : " npx simple-git-hooks && pnpm build" ,
4646 "prepublishOnly" : " pnpm lint && pnpm test" ,
4747 "release" : " bumpp && npm publish" ,
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export const createRegExp: {
4949} = ( ...inputs : any [ ] ) => {
5050 const flags
5151 = inputs . length > 1
52- && ( Array . isArray ( inputs [ inputs . length - 1 ] ) || inputs [ inputs . length - 1 ] instanceof Set )
52+ && ( Array . isArray ( inputs [ inputs . length - 1 ] ) || inputs [ inputs . length - 1 ] instanceof Set )
5353 ? inputs . pop ( )
5454 : undefined
5555 return new RegExp ( exactly ( ...inputs ) . toString ( ) , [ ...( flags || '' ) ] . join ( '' ) ) as any
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export const createRegExp: {
3838} = ( ...inputs : any [ ] ) => {
3939 const flags
4040 = inputs . length > 1
41- && ( Array . isArray ( inputs [ inputs . length - 1 ] ) || inputs [ inputs . length - 1 ] instanceof Set )
41+ && ( Array . isArray ( inputs [ inputs . length - 1 ] ) || inputs [ inputs . length - 1 ] instanceof Set )
4242 ? inputs . pop ( )
4343 : undefined
4444 return new RegExp ( exactly ( ...inputs ) . toString ( ) , [ ...( flags || '' ) ] . join ( '' ) ) as any
Original file line number Diff line number Diff line change 1- import { expectTypeOf } from 'expect-type'
2- import { describe , it } from 'vitest'
3-
4- // eslint-disable-next-line import/no-duplicates
51import type * as flags from '../src/core/flags'
62
7- // eslint-disable-next-line import/no-duplicates
83import type { Flag } from '../src/core/flags'
94
5+ import { expectTypeOf } from 'expect-type'
6+
7+ import { describe , it } from 'vitest'
8+
109type ValueOf < T > = T [ keyof T ]
1110
1211describe ( 'flags' , ( ) => {
You can’t perform that action at this time.
0 commit comments