1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Go to file
Kevin Ansfield 7eefbba69f 💄🐷 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
.github Rename PULL_REQUEST_TEMPLATE to PULL_REQUEST_TEMPLATE.md 2016-05-23 10:50:15 +01:00
app 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
config bump dependencies (#673) 2017-05-09 18:15:04 -05:00
lib Editor refactors (#679) 2017-05-08 10:44:02 +01:00
mirage 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
public/assets Revert svg icon stroke changes 2017-04-15 14:28:47 +01:00
tests 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
.editorconfig deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
.ember-cli grunt init, dev 2015-03-11 12:37:41 -06:00
.eslintrc.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
.gitignore chore(package): update ember-cli to version 2.9.0 (#354) 2016-10-21 09:07:49 +01:00
.travis.yml Re-enable yarn in Travis 2017-02-19 10:59:51 -06:00
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
bower.json Fix split screen editor (#684) 2017-05-08 19:15:56 +01:00
ember-cli-build.js Fix split screen editor (#684) 2017-05-08 19:15:56 +01:00
Gruntfile.js 🛠 switch to using yarn in our Grunt tasks (#613) 2017-04-04 11:36:17 +01:00
LICENSE 2017 2017-01-04 10:32:54 +00:00
package.json 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
README.md Add code coverage badge to README (#486) 2017-01-11 13:09:26 +00:00
testem.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00
yarn.lock 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00

Ghost-Admin

Build Status Coverage Status

This is the home of Ember.js based admin client that ships with Ghost. For now, refer to that repository for install and development instructions.

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2017 Ghost Foundation - Released under the MIT license.