Skip to content

Commit

Permalink
style: Add formatter rule & apply (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
NaoyaMiyagawa authored Sep 16, 2024
1 parent 401cb88 commit 9662860
Show file tree
Hide file tree
Showing 53 changed files with 4,071 additions and 4,064 deletions.
45 changes: 25 additions & 20 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
{
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": [
"dist",
"examples/laravel10-app/resources/js/types",
"examples/laravel10-app/resources/js/ziggy.js",
"examples/laravel10-app/public",
"examples/laravel10-app/composer.json",
"vendor"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"ignore": [
"dist",
"examples/laravel10-app/resources/js/types",
"examples/laravel10-app/resources/js/ziggy.js",
"examples/laravel10-app/public",
"examples/laravel10-app/composer.json",
"vendor"
]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2
}
}
112 changes: 56 additions & 56 deletions examples/laravel10-app/.laravel-typegen-tmp/History.json
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
{
"class": "App\\Models\\Common\\History",
"database": "mysql",
"table": "histories",
"policy": null,
"attributes": [
{
"name": "id",
"type": "bigint unsigned",
"increments": true,
"nullable": false,
"default": null,
"unique": true,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "int"
},
{
"name": "log",
"type": "string(255)",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "created_at",
"type": "datetime",
"increments": false,
"nullable": true,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "datetime"
},
{
"name": "updated_at",
"type": "datetime",
"increments": false,
"nullable": true,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "datetime"
}
],
"relations": [],
"observers": []
"class": "App\\Models\\Common\\History",
"database": "mysql",
"table": "histories",
"policy": null,
"attributes": [
{
"name": "id",
"type": "bigint unsigned",
"increments": true,
"nullable": false,
"default": null,
"unique": true,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "int"
},
{
"name": "log",
"type": "string(255)",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "created_at",
"type": "datetime",
"increments": false,
"nullable": true,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "datetime"
},
{
"name": "updated_at",
"type": "datetime",
"increments": false,
"nullable": true,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "datetime"
}
],
"relations": [],
"observers": []
}
184 changes: 92 additions & 92 deletions examples/laravel10-app/.laravel-typegen-tmp/Job.json
Original file line number Diff line number Diff line change
@@ -1,94 +1,94 @@
{
"class": "App\\Models\\Job",
"database": "mysql",
"table": "jobs",
"policy": null,
"attributes": [
{
"name": "id",
"type": "bigint unsigned",
"increments": true,
"nullable": false,
"default": null,
"unique": true,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "int"
},
{
"name": "queue",
"type": "string(255)",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "payload",
"type": "text",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "attempts",
"type": "boolean unsigned",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "reserved_at",
"type": "integer unsigned",
"increments": false,
"nullable": true,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "available_at",
"type": "integer unsigned",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "created_at",
"type": "integer unsigned",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "datetime"
}
],
"relations": [],
"observers": []
"class": "App\\Models\\Job",
"database": "mysql",
"table": "jobs",
"policy": null,
"attributes": [
{
"name": "id",
"type": "bigint unsigned",
"increments": true,
"nullable": false,
"default": null,
"unique": true,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "int"
},
{
"name": "queue",
"type": "string(255)",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "payload",
"type": "text",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "attempts",
"type": "boolean unsigned",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "reserved_at",
"type": "integer unsigned",
"increments": false,
"nullable": true,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "available_at",
"type": "integer unsigned",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": null
},
{
"name": "created_at",
"type": "integer unsigned",
"increments": false,
"nullable": false,
"default": null,
"unique": false,
"fillable": false,
"hidden": false,
"appended": null,
"cast": "datetime"
}
],
"relations": [],
"observers": []
}
Loading

0 comments on commit 9662860

Please sign in to comment.