Ghost/ghost/admin/app/utils
Kevin Ansfield cb59388c5b 💄🐷 sort-imports eslint rule (#712)
no issue

- adds `eslint-plugin-sort-imports-es6-autofix` dependency
  - implements ESLint's base `sort-imports` rule but has a distinction in that `import {foo} from 'bar';` is considered `multiple` rather than `single`
  - fixes ESLint's autofix behaviour so `eslint --fix` will actually fix the sort order
- updates all unordered import rules by using `eslint --fix`

With the increased number of `import` statements since Ember+ecosystem started moving towards es6 modules I've found it frustrating at times trying to search through randomly ordered import statements. Recently I've been sorting imports manually when I've added new code or touched old code so I thought I'd add an ESLint rule to codify it.
2017-05-29 20:50:03 +02:00
..
bound-one-way.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
caja-sanitizers.js use markdown-it for markdown previews (#690) 2017-05-15 18:51:19 +02:00
ctrl-or-cmd.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
date-formatting.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
document-title.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
ed-image-manager.js Fix editor image perf and upload bug 2016-05-08 12:55:56 +02:00
editor-shortcuts.js Update package.json details, rename module to ghost-admin 2016-06-03 16:12:54 +01:00
format-markdown.js use markdown-it for markdown previews (#690) 2017-05-15 18:51:19 +02:00
ghost-paths.js 🎨 Change asset path to /ghost/assets (#309) 2016-10-07 16:16:26 -05:00
isFinite.js Standardize on var-less export default across ember app 2015-10-06 10:59:50 +01:00
isNumber.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
link-component.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
random-password.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
route.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
text-field.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
titleize.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
validator-extensions.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
window-proxy.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
word-count.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00