Skip to content

Commit 4293365

Browse files
phacksgr2m
authored andcommitted
Add a11y contribution type (#259)
Related to all-contributors/allcontributors.org#320
1 parent ce62c42 commit 4293365

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/tasks/processIssueComment/utils/parse-comment

src/tasks/processIssueComment/utils/parse-comment/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const nlp = require('compromise')
22

33
// Types that are valid (multi words must all be lower case)
44
const validContributionTypes = [
5+
'a11y',
56
'blog',
67
'bug',
78
'business',
@@ -41,6 +42,7 @@ const validMultiContributionTypesMapping = {
4142

4243
// Additional terms to match to types (plurals, aliases etc)
4344
const contributionTypeMappings = {
45+
accessibility: 'a11y',
4446
blogs: 'blog',
4547
blogging: 'blog',
4648
bugs: 'bug',

0 commit comments

Comments
 (0)