File tree Expand file tree Collapse file tree 4 files changed +22
-367
lines changed
packages/eslint-plugin-react-hooks/src/types Expand file tree Collapse file tree 4 files changed +22
-367
lines changed Original file line number Diff line number Diff line change 4242 "@rollup/plugin-node-resolve" : " ^15.0.1" ,
4343 "@rollup/plugin-replace" : " ^5.0.2" ,
4444 "@rollup/plugin-typescript" : " ^12.1.2" ,
45+ "@types/invariant" : " ^2.2.35" ,
4546 "@typescript-eslint/eslint-plugin" : " ^6.21.0" ,
4647 "@typescript-eslint/parser" : " ^6.21.0" ,
4748 "abortcontroller-polyfill" : " ^1.7.5" ,
Original file line number Diff line number Diff line change 66 */
77
88// v0.17.1
9- declare module " hermes-eslint" {
9+ declare module ' hermes-eslint' {
1010 // https://fburl.com/2vikhmaa
1111 type ParseForESLintOptions = {
1212 /**
@@ -37,7 +37,7 @@ declare module "hermes-eslint" {
3737 /**
3838 * The source type of the script.
3939 */
40- sourceType : " script" | " module" ;
40+ sourceType : ' script' | ' module' ;
4141
4242 /**
4343 * Ignore <fbt /> JSX elements when adding references to the module-level `React` variable.
Original file line number Diff line number Diff line change 66 */
77
88// v0.17.1
9- declare module " hermes-parser" {
9+ declare module ' hermes-parser' {
1010 type HermesParserOptions = {
1111 allowReturnOutsideFunction ?: boolean ;
1212 babel ?: boolean ;
13- flow ?: " all" | " detect" ;
13+ flow ?: ' all' | ' detect' ;
1414 enableExperimentalComponentSyntax ?: boolean ;
1515 sourceFilename ?: string ;
16- sourceType ?: " module" | " script" | " unambiguous" ;
16+ sourceType ?: ' module' | ' script' | ' unambiguous' ;
1717 tokens ?: boolean ;
1818 } ;
1919 export function parse ( code : string , options : Partial < HermesParserOptions > ) ;
You can’t perform that action at this time.
0 commit comments