File tree Expand file tree Collapse file tree 5 files changed +251
-169
lines changed Expand file tree Collapse file tree 5 files changed +251
-169
lines changed Original file line number Diff line number Diff line change 27
27
"eslint" : " 9.27.0" ,
28
28
"eslint-import-resolver-typescript" : " ^4.3.4" ,
29
29
"lerna" : " ^8.2.2" ,
30
- "prettier" : " ^3.3 .3" ,
31
- "pretty-quick" : " ^4.0.0 " ,
30
+ "prettier" : " ^3.5 .3" ,
31
+ "pretty-quick" : " ^4.2.2 " ,
32
32
"typescript" : " ^5.8.3" ,
33
33
"vitest" : " ^3.1.3"
34
34
},
Original file line number Diff line number Diff line change 25
25
}
26
26
},
27
27
"dependencies" : {
28
- "@eslint/js" : " ^9.27.0" ,
29
- "@typescript-eslint/parser" : " ^8.33.0" ,
30
28
"emoji-regex" : " ^10.4.0" ,
31
29
"eslint-config-airbnb-base" : " ^15.0.0" ,
32
30
"eslint-config-airbnb" : " ^19.0.4" ,
38
36
"eslint-plugin-react" : " ^7.37.5" ,
39
37
"eslint-plugin-react-compiler" : " ^19.1.0-rc.2" ,
40
38
"eslint-plugin-react-hooks" : " ^6.0.0" ,
41
- "eslint-plugin-testing-library" : " ^7.2.2 " ,
39
+ "eslint-plugin-testing-library" : " ^7.3.0 " ,
42
40
"globals" : " ^16.2.0" ,
43
41
"minimatch" : " ^10.0.1" ,
44
- "typescript-eslint" : " ^8.33.0 "
42
+ "typescript-eslint" : " ^8.33.1 "
45
43
},
46
44
"peerDependencies" : {
47
- "@next/eslint-plugin-next" : " * " ,
45
+ "@next/eslint-plugin-next" : " ^14.0.0 || ^15.0.0 " ,
48
46
"eslint" : " ^9.0.0" ,
49
- "prettier" : " * "
47
+ "prettier" : " ^3.0.0 "
50
48
},
51
49
"peerDependenciesMeta" : {
52
50
"@next/eslint-plugin-next" : {
58
56
},
59
57
"devDependencies" : {
60
58
"@next/eslint-plugin-next" : " ^15.3.3" ,
61
- "eslint" : " ^9.27.0" ,
62
- "prettier" : " ^3.3.3" ,
63
- "typescript-eslint" : " ^8.32.1"
59
+ "@typescript-eslint/parser" : " ^8.33.1" ,
60
+ "eslint" : " ^9.28.0" ,
61
+ "prettier" : " ^3.5.3" ,
62
+ "typescript-eslint" : " ^8.33.1"
64
63
},
65
64
"files" : [
66
65
" src" ,
Original file line number Diff line number Diff line change 1
- import type { ConfigArray } from 'typescript-eslint' ;
1
+ import type { ConfigArray , ConfigWithExtends } from 'typescript-eslint' ;
2
2
3
3
type BaseConfigOptions = {
4
4
enableReactCompiler ?: boolean ;
5
5
} ;
6
6
7
+ declare const baseSpecRules : ConfigWithExtends ;
8
+
7
9
declare function createBaseConfig ( options ?: BaseConfigOptions ) : ConfigArray ;
8
10
declare function createTestConfig ( ) : ConfigArray ;
9
11
10
- export { createBaseConfig , createTestConfig } ;
12
+ export { baseSpecRules , createBaseConfig , createTestConfig } ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import airbnbTs from './airbnb/typescript.mjs';
14
14
import { createCoreConfig } from './material-ui/config.mjs' ;
15
15
import muiPlugin from './material-ui/index.mjs' ;
16
16
17
- export const specBaseRules = {
17
+ export const baseSpecRules = {
18
18
files : [ '**/*.spec.*' ] ,
19
19
rules : {
20
20
'no-alert' : 'off' ,
You can’t perform that action at this time.
0 commit comments