Skip to content

Commit 8bddf9a

Browse files
committed
Bring in .editorconfig
1 parent 7c114c5 commit 8bddf9a

4 files changed

Lines changed: 25 additions & 5 deletions

File tree

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2
16+
17+
[docker-compose.yml]
18+
indent_size = 4

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
src/Http/.DS_Store

src/Http/Controllers/ResourcesController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
class ResourcesController extends CpController
99
{
1010
public function __invoke()
11-
{
12-
11+
{
12+
1313
if (! User::current()->can('view '.strtolower(config('thoughtco.client-dashboard.nav.title')))) {
1414
abort(403);
1515
}
16-
16+
1717
return view('statamic-cpresources::index', [
1818
'trelloUrl' => config('thoughtco.client-dashboard.trello_url'),
1919
'looms' => config('thoughtco.client-dashboard.looms'),

src/ServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010
class ServiceProvider extends AddonServiceProvider
1111
{
12-
12+
1313
protected $routes = [
1414
'cp' => __DIR__.'/../routes/cp.php',
1515
];
1616

1717
public function bootAddon()
18-
{
18+
{
1919
$this->mergeConfigFrom(__DIR__.'/../config/client-dashboard.php', 'thoughtco.client-dashboard');
2020

2121
$this->publishes([

0 commit comments

Comments
 (0)