summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/rejected-words.yml
blob: 28d958568fde39bc4d1ecdffc398aaf0d5e658ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
avoid-blacklist-and-whitelist:
    description: "Use words like 'skip', 'select', 'allow' or 'deny' instead"
    level: error
    include: ['comm/']
    exclude:
        - comm/tools/lint/rejected-words.yml
    type: external
    wrappedType: regex
    payload: commlint:lint_wrapper
    wraps: (black|white)[-_]?list
    ignore-case: true
    # same as codespell
    extensions:
        - c
        - configure
        - cpp
        - ftl
        - h
        - html
        - idl
        - js
        - jsm
        - jxs
        - md
        - mjs
        - properties
        - py
        - rst
        - xhtml
        - xml
        - yml