Skip to content

Commit 60fa340

Browse files
authored
Merge pull request #19 from nativeapptemplate/remove_redis
Remove Redis and add Overcommit configuration
2 parents 1ad3a0a + c6d5b66 commit 60fa340

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

.overcommit.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Use this file to configure the Overcommit hooks you wish to use. This will
2+
# extend the default configuration defined in:
3+
# https://github.com/sds/overcommit/blob/main/config/default.yml
4+
#
5+
# At the topmost level of this YAML file is a key representing type of hook
6+
# being run (e.g. pre-commit, commit-msg, etc.). Within each type you can
7+
# customize each hook, such as whether to only run it on certain files (via
8+
# `include`), whether to only display output if it fails (via `quiet`), etc.
9+
#
10+
# For a complete list of hooks, see:
11+
# https://github.com/sds/overcommit/tree/main/lib/overcommit/hook
12+
#
13+
# For a complete list of options that you can use to customize hooks, see:
14+
# https://github.com/sds/overcommit#configuration
15+
#
16+
# Uncomment the following lines to make the configuration take effect.
17+
18+
verify_signatures: false
19+
20+
PreCommit:
21+
RuboCop:
22+
enabled: true
23+
required: true
24+
command: ['bundle', 'exec', 'rubocop', '-f', 'simple']
25+
ErbLint:
26+
enabled: true
27+
required: true
28+
command: ['bundle', 'exec', 'erblint', '--lint-all']

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Then you can start the database servers:
2323

2424
```bash
2525
brew services start postgresql
26-
brew services start redis
2726
```
2827

2928
## Initial Setup

0 commit comments

Comments
 (0)