From ce909467e6a770711205845107588b5134f06bb6 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Mon, 25 Sep 2017 21:05:48 +0100 Subject: [PATCH] feat: reorder contributions keys (#50) * chore: reorder contributions keys * chore: re-order keys here too --- README.md | 30 ++++++++++++------------- lib/util/contribution-types.js | 40 +++++++++++++++++----------------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 4af1f99..4648ec3 100644 --- a/README.md +++ b/README.md @@ -54,26 +54,26 @@ all-contributors add all-contributors add jfmengels code,doc ``` Where `username` is the user's GitHub username, and `contribution` is a `,`-separated list of ways to contribute, from the following list ([see the specs](https://github.com/kentcdodds/all-contributors#emoji-key)): - - code: [💻](# "Code") - - plugin: [🔌](# "Plugin/utility libraries") - - tool: [🔧](# "Tools") - - infra: [🚇](# "Infrastructure (Hosting, Build-Tools, etc)") - - doc: [📖](# "Documentation") - - translation: [🌍](# "Translation") - - question: [💬](# "Answering Questions") - - test: [⚠️](# "Tests") - - bug: [🐛](# "Bug reports") - - example: [💡](# "Examples") - blog: [📝](# "Blogposts") - - tutorial: [✅](# "Tutorials") - - video: [📹](# "Videos") - - talk: [📢](# "Talks") + - bug: [🐛](# "Bug reports") + - code: [💻](# "Code") - design: [🎨](# "Design") - - review: [👀](# "Reviewed Pull Requests") + - doc: [📖](# "Documentation") + - eventOrganizing: [📋](# "Event Organizing") + - example: [💡](# "Examples") - financial: [💵](# "Financial") - fundingFinding: [🔍](# "Funding Finding") - - eventOrganizing: [📋](# "Event Organizing") - ideas: [🤔](# "Ideas, Planning, & Feedback") + - infra: [🚇](# "Infrastructure (Hosting, Build-Tools, etc)") + - plugin: [🔌](# "Plugin/utility libraries") + - question: [💬](# "Answering Questions") + - review: [👀](# "Reviewed Pull Requests") + - talk: [📢](# "Talks") + - test: [⚠️](# "Tests") + - tool: [🔧](# "Tools") + - translation: [🌍](# "Translation") + - tutorial: [✅](# "Tutorials") + - video: [📹](# "Videos") ## Configuration diff --git a/lib/util/contribution-types.js b/lib/util/contribution-types.js index 477b5e7..15454ea 100644 --- a/lib/util/contribution-types.js +++ b/lib/util/contribution-types.js @@ -29,10 +29,26 @@ var defaultTypes = { description: 'Documentation', link: linkToCommits }, + eventOrganizing: { + symbol: '📋', + description: 'Event Organizing' + }, example: { symbol: '💡', description: 'Examples' }, + financial: { + symbol: '💵', + description: 'Financial' + }, + fundingFinding: { + symbol: '🔍', + description: 'Funding Finding' + }, + ideas: { + symbol: '🤔', + description: 'Ideas, Planning, & Feedback' + }, infra: { symbol: '🚇', description: 'Infrastructure (Hosting, Build-Tools, etc)' @@ -58,14 +74,14 @@ var defaultTypes = { description: 'Tests', link: linkToCommits }, - translation: { - symbol: '🌍', - description: 'Translation' - }, tool: { symbol: '🔧', description: 'Tools' }, + translation: { + symbol: '🌍', + description: 'Translation' + }, tutorial: { symbol: '✅', description: 'Tutorials' @@ -73,22 +89,6 @@ var defaultTypes = { video: { symbol: '📹', description: 'Videos' - }, - financial: { - symbol: '💵', - description: 'Financial' - }, - fundingFinding: { - symbol: '🔍', - description: 'Funding Finding' - }, - eventOrganizing: { - symbol: '📋', - description: 'Event Organizing' - }, - ideas: { - symbol: '🤔', - description: 'Ideas, Planning, & Feedback' } };