File tree Expand file tree Collapse file tree
packages/router/src/Providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,20 +5,36 @@ import tseslint from 'typescript-eslint'
55
66export default defineConfig (
77 {
8- tsconfigRootDir : '.'
8+ languageOptions : {
9+ parserOptions : {
10+ // eslint-disable-next-line no-undef
11+ tsconfigRootDir : process . cwd ( )
12+ } ,
13+ } ,
914 } ,
1015 js . configs . recommended ,
1116 ...tseslint . configs . recommended ,
1217 [
1318 globalIgnores ( [
1419 'bin/**' ,
15- 'dist/**' ,
1620 '**/bin' ,
17- '**/dist' ,
1821 '**/bin/**' ,
22+ 'dist/**' ,
23+ '**/dist' ,
1924 '**/dist/**' ,
20- 'public/**/*.js' ,
21- 'node_modules/**'
25+ 'public/**' ,
26+ '**/public' ,
27+ '**/public/**' ,
28+ '.h3ravel/**' ,
29+ '**/.h3ravel' ,
30+ '**/.h3ravel/**' ,
31+ 'node_modules/**' ,
32+
33+ '**/bin' ,
34+ '**/dist' ,
35+ '**/public' ,
36+ '**/.h3ravel' ,
37+ '**/node_modules'
2238 ] )
2339 ] ,
2440 {
Original file line number Diff line number Diff line change 1- import { Command } from " @h3ravel/console" ;
1+ import { Command } from ' @h3ravel/console'
22
33export class ExampleCommand extends Command {
44
@@ -10,14 +10,14 @@ export class ExampleCommand extends Command {
1010 protected signature : string = `example
1111 {name : Name of the example.}
1212 {--d|debug : Show debug info}
13- ` ;
13+ `
1414
1515 /**
1616 * The console command description.
1717 *
1818 * @var string
1919 */
20- protected description : string = 'An example command' ;
20+ protected description : string = 'An example command'
2121
2222 public async handle ( ) {
2323 const name = this . argument ( 'name' )
Original file line number Diff line number Diff line change 1- import { Model } from " @h3ravel/database" ;
1+ import { Model } from ' @h3ravel/database'
22
3- export class User extends Model { protected table : string | null = 'users' ; }
3+ export class User extends Model { protected table : string | null = 'users' }
Original file line number Diff line number Diff line change 11import { Migration } from '@h3ravel/arquebus'
2- import { SchemaBuilder } from '@h3ravel/arquebus/types/query-builder' ;
2+ import { SchemaBuilder } from '@h3ravel/arquebus/types/query-builder'
33
44export default class extends Migration {
55 /**
66 * Run the migrations.
77 */
88 async up ( schema : SchemaBuilder ) {
99 await schema . createTable ( 'john_table_john' , ( table ) => {
10- table . increments ( 'id' ) ;
11- table . timestamps ( ) ;
12- } ) ;
10+ table . increments ( 'id' )
11+ table . timestamps ( )
12+ } )
1313 }
1414
1515 /**
1616 * Reverse the migrations.
1717 */
1818 async down ( schema : SchemaBuilder ) {
19- await schema . dropTableIfExists ( 'john_table_john' ) ;
19+ await schema . dropTableIfExists ( 'john_table_john' )
2020 }
2121} ;
Original file line number Diff line number Diff line change 1- import { TsDownConfig } from '@h3ravel/console' ;
1+ import { TsDownConfig } from '@h3ravel/console'
22
3- export default TsDownConfig ;
3+ export default TsDownConfig
Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ export class AssetsServiceProvider extends ServiceProvider {
1616
1717 register ( ) {
1818 const app = this . app . make ( 'router' )
19- const config = this . app . make ( 'config' )
20- const fsconfig = config . get ( 'filesystem' )
2119 const publicPath = this . app . getPath ( 'public' )
2220
2321 /**
You can’t perform that action at this time.
0 commit comments