0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/unit/middleware
Kevin Ansfield ff73f1af92 deps: grunt-jscs@2.1.0
no issue
- update grunt-jscs dependency
- fix deprecated `validateJSDoc` configuration
- fix numerous linting errors, including:
  - use of future-reserved `public` and `private` variable names
  - use of `[]` instead of dot-notation (especially `express['static']` and `cacheRules['x']`)
  - extra spaces in `const { run } = Ember` style constructs

One issue that did become apparent is that there are conflicting rules that prevent the use of object function shorthand such that both of these:

```
{ myFunc() {} }
{ myFunc () {} }
```

are called out due to either the missing or the extra space before the `(`
2015-10-12 19:21:16 +01:00
..
api-error-handlers_spec.js Removing incorrect 405 handling 2015-07-14 20:49:19 +01:00
auth-strategies_spec.js Improve middleware coverage 2015-08-21 23:46:42 +02:00
authentication_spec.js Remove duplicate function 2015-08-12 15:17:09 +02:00
cache-control_spec.js deps: grunt-jscs@2.1.0 2015-10-12 19:21:16 +01:00
check-ssl_spec.js SSL redirects 2015-09-25 12:02:14 +02:00
decide-is-admin_spec.js Improve API error handling 2015-06-15 10:08:30 +01:00
private-blogging_spec.js Middleware Refactor 2015-08-04 14:53:58 +02:00
redirect-to-setup_spec.js Middleware Refactor 2015-08-04 14:53:58 +02:00
serve-shared-file_spec.js Middleware Refactor 2015-08-04 14:53:58 +02:00
spam-prevention_spec.js Move the spam prevention into its own file. 2015-05-29 08:59:29 -07:00
static-theme_spec.js Remove unnecessary API lookup for activeTheme 2015-09-29 22:54:55 +02:00
theme-handler_spec.js Simplify theme middleware + improve tests 2015-10-11 22:26:43 +01:00
uncapitalise_spec.js Uncapitalise respects subdirectories & no encoding 2015-09-24 18:52:30 +01:00