Skip to content

Commit

Permalink
refactor(defaults): use node anchors for common line_length values
Browse files Browse the repository at this point in the history
* To be reused for upcoming `rubocop` settings as well
  • Loading branch information
myii committed Oct 8, 2019
1 parent 6d70da2 commit ac9b7a5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
---
ssf_node_anchors:
defaults:
common:
lint:
line_length:
bugbear: &line_length_bugbear 88
default: &line_length_default 80
formula: &formula_default
context: &context_default
git:
Expand Down Expand Up @@ -207,9 +212,9 @@ ssf_node_anchors:
key-duplicates: {}
# key-ordering: {}
line-length:
bugbear: 88
default: 80
max: 88
bugbear: *line_length_bugbear
default: *line_length_default
max: *line_length_bugbear
# new-line-at-end-of-file: {}
# new-lines: {}
octal-values:
Expand Down

0 comments on commit ac9b7a5

Please sign in to comment.