Skip to content

Commit

Permalink
Implements editorconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmcclure committed Jul 3, 2014
1 parent f9cf0a4 commit 7a4d20e
Show file tree
Hide file tree
Showing 35 changed files with 17 additions and 68 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
@@ -0,0 +1,17 @@

# EditorConfig: http://EditorConfig.org

root = true

[*]
indent_style = space
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
max_line_length = 80

[*.php]
indent_size = 4

[*.js]
indent_size = 2
2 changes: 0 additions & 2 deletions Gruntfile.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions NeatlineWaypointsPlugin.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions controllers/OrderController.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions plugin.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/helpers/ajax.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/helpers/aliases.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/helpers/data.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/helpers/state.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/tests/editor/Open.spec.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/tests/editor/Router.spec.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/tests/editor/Save.spec.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/tests/neatline/List.spec.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/tests/neatline/Pub.spec.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/jasmine/tests/neatline/Sub.spec.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/bootstrap.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/cases/NeatlineWaypoints_Case_Default.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/cases/NeatlineWaypoints_Case_Fixture.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/tests/fixtures/editor/FormTest.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/tests/fixtures/neatline/EventsTest.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/tests/fixtures/neatline/ListTest.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/tests/fixtures/shared/HtmlTest.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions tests/phpunit/tests/integration/OrderController/IndexTest.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/css/stylus/editor/form.styl
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/css/stylus/public/waypoints.styl
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/javascripts/editor/waypoints.controller.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/javascripts/editor/waypoints.init.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/javascripts/editor/waypoints.router.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/javascripts/editor/waypoints.view.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/javascripts/public/waypoints.controller.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/javascripts/public/waypoints.init.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/javascripts/public/waypoints.view.js
@@ -1,6 +1,4 @@

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/waypoints/editor/form.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/waypoints/editor/list.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down
2 changes: 0 additions & 2 deletions views/shared/waypoints/public/list.php
@@ -1,7 +1,5 @@
<?php

/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80: */

/**
* @package omeka
* @subpackage neatline-Waypoints
Expand Down

0 comments on commit 7a4d20e

Please sign in to comment.