You've already forked simple-icons
mirror of
https://github.com/simple-icons/simple-icons.git
synced 2026-06-13 16:05:51 +02:00
129 lines
1.6 KiB
JavaScript
129 lines
1.6 KiB
JavaScript
// @ts-check
|
|
/**
|
|
* @file Duplicate checker configuration for marking icon request issues as possible duplicates.
|
|
*/
|
|
|
|
/** @type {import('./duplicate.app.js').Config} */
|
|
const config = {
|
|
threshold: 0.85,
|
|
maxDuplicates: 3,
|
|
issue: {
|
|
minimumTitleLength: 4,
|
|
},
|
|
exclude: [
|
|
// Action verbs
|
|
'adding',
|
|
'add',
|
|
'added',
|
|
'creating',
|
|
'create',
|
|
'created',
|
|
'requesting',
|
|
'request',
|
|
'requested',
|
|
'updating',
|
|
'update',
|
|
'updated',
|
|
'needing',
|
|
'need',
|
|
'needed',
|
|
'removing',
|
|
'remove',
|
|
'removed',
|
|
'deleting',
|
|
'delete',
|
|
'deleted',
|
|
'fixing',
|
|
'fix',
|
|
'fixed',
|
|
'changing',
|
|
'change',
|
|
'changed',
|
|
'including',
|
|
'include',
|
|
'included',
|
|
'improving',
|
|
'improve',
|
|
'improved',
|
|
'replacing',
|
|
'replace',
|
|
'replaced',
|
|
|
|
// Descriptive adjectives
|
|
'new',
|
|
'old',
|
|
'missing',
|
|
'miss',
|
|
'outdated',
|
|
'broken',
|
|
'unavailable',
|
|
'available',
|
|
'incorrect',
|
|
'correct',
|
|
'wrong',
|
|
'right',
|
|
'bad',
|
|
'good',
|
|
'invalid',
|
|
'valid',
|
|
|
|
// Prepositions and connectors
|
|
'for',
|
|
'from',
|
|
'to',
|
|
'with',
|
|
'without',
|
|
'in',
|
|
'on',
|
|
'at',
|
|
'by',
|
|
'of',
|
|
'and',
|
|
'or',
|
|
'the',
|
|
'a',
|
|
'an',
|
|
|
|
// Generic nouns
|
|
'icons',
|
|
'icon',
|
|
'logos',
|
|
'logo',
|
|
'brand',
|
|
'brand-name',
|
|
'brands',
|
|
'assets',
|
|
'asset',
|
|
'project',
|
|
'projects',
|
|
'image',
|
|
'images',
|
|
'file',
|
|
'files',
|
|
'version',
|
|
'versions',
|
|
'name',
|
|
|
|
// Courtesy/auxiliary words
|
|
'please',
|
|
'could',
|
|
'would',
|
|
'should',
|
|
'can',
|
|
'may',
|
|
'might',
|
|
'thanks',
|
|
'thank',
|
|
|
|
// Negative words
|
|
'not',
|
|
'no',
|
|
'none',
|
|
'isnt',
|
|
'arent',
|
|
'doesnt',
|
|
],
|
|
};
|
|
|
|
export default config;
|