fune/tools/lint/shellcheck.yml
Francesco Lodolo (:flod) 7afa41bb66 Bug 1806793 - Update scripts for en-US dictionary, r=sylvestre
Added .sh extension to all scripts.

edit-dictionary.sh:
* Convert to utf-8 before editing, and back to iso-8859-1 before saving
* Place a copy of the utf-8 dictionary inside the utf8 folder, and store the iso-8859-1 in place

make-new-dict.sh:
* Use .txt extension for support wordlists, and place them in a subfolder
* Exclude words in mozilla-exclusions.txt from the generated dictionary
* Save 5-mozilla-*.txt files to utf-8

Depends on D165304

Differential Revision: https://phabricator.services.mozilla.com/D165305
2022-12-28 15:06:25 +00:00

15 lines
445 B
YAML

---
shellcheck:
description: Shell script linter
include:
- extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/
- taskcluster/docker/
exclude: []
# 1090: https://github.com/koalaman/shellcheck/wiki/SC1090
# 'Can't follow a non-constant source'
extensions: ['sh']
support-files:
- 'tools/lint/shell/**'
excludecodes: ['1090', '1091']
type: external
payload: shell:lint