Skip to content

Commit

Permalink
Add a11y contribution type (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
phacks authored and gr2m committed Nov 17, 2019
1 parent ce62c42 commit 4293365
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tasks/processIssueComment/utils/parse-comment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const nlp = require('compromise')

// Types that are valid (multi words must all be lower case)
const validContributionTypes = [
'a11y',
'blog',
'bug',
'business',
Expand Down Expand Up @@ -41,6 +42,7 @@ const validMultiContributionTypesMapping = {

// Additional terms to match to types (plurals, aliases etc)
const contributionTypeMappings = {
accessibility: 'a11y',
blogs: 'blog',
blogging: 'blog',
bugs: 'bug',
Expand Down

0 comments on commit 4293365

Please sign in to comment.