forked from plfa/plfa.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fix-whitespace.yaml
56 lines (53 loc) · 1.22 KB
/
fix-whitespace.yaml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This file contains the project-specific settings for `fix-whitespace` a tiny
# but useful tool to
#
# * Removes trailing whitespace.
# * Removes trailing lines containing nothing but whitespace.
# * Ensures that the file ends in a newline character.
#
# By default, fix-whitespace checks every directory under the current working
# directory but no files. This program should be placed under a text-based
# project.
#
# For directories,
#
# 1) excluded-dirs is a block-list of directories,
# 2) included-dirs is a allow-list of excluded-dirs
#
# For files,
#
# 3) included-files is a allow-list of files,
# 4) excluded-files is a block-list of included-files.
#
# The extended glob pattern can be used to specify file/direcotory names.
# For details, see http://hackage.haskell.org/package/filemanip-0.3.6.3/docs/System-FilePath-GlobPattern.html
#
included-dirs:
- "src"
- "epub"
- "posts"
- "courses"
- "templates"
- "css"
- "public"
excluded-dirs:
- ".stack-work"
- ".git"
- "_site"
- "_cache"
- "extra"
- "standard-library"
included-files:
- "*.hs"
- "*.cabal"
- "*.md"
- "*.sh"
- "*.html"
- "*.yml"
- "*.yaml"
- "*.agda-lib"
- "LICENSE"
excluded-files:
- ".DS_Store"
- "*.sed"
- "*.lock"