mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-10-26 15:35:29 +03:00
52e2acc14e
Problem: somehow, we yet lack it here, so different people may bring different formatting to the source code. Solution: add some config that we commonly use.
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
# SPDX-FileCopyrightText: 2021 Serokell <https://serokell.io>
|
|
#
|
|
# SPDX-License-Identifier: Unlicense
|
|
|
|
steps:
|
|
- simple_align:
|
|
cases: false
|
|
top_level_patterns: false
|
|
records: false
|
|
- imports:
|
|
align: none
|
|
list_align: after_alias
|
|
pad_module_names: false
|
|
long_list_align: new_line
|
|
empty_list_align: inherit
|
|
list_padding: 2
|
|
separate_lists: true
|
|
space_surround: false
|
|
- trailing_whitespace: {}
|
|
columns: 100
|
|
newline: native
|
|
language_extensions:
|
|
- BangPatterns
|
|
- BlockArguments
|
|
- ConstraintKinds
|
|
- DataKinds
|
|
- DefaultSignatures
|
|
- DeriveAnyClass
|
|
- DeriveDataTypeable
|
|
- DeriveGeneric
|
|
- DerivingStrategies
|
|
- DerivingVia
|
|
- EmptyCase
|
|
- ExistentialQuantification
|
|
- ExplicitNamespaces
|
|
- FlexibleContexts
|
|
- FlexibleInstances
|
|
- FunctionalDependencies
|
|
- GADTs
|
|
- GeneralizedNewtypeDeriving
|
|
- LambdaCase
|
|
- MultiParamTypeClasses
|
|
- MultiWayIf
|
|
- NamedFieldPuns
|
|
- NoImplicitPrelude
|
|
- NumericUnderscores
|
|
- OverloadedLabels
|
|
- OverloadedStrings
|
|
- PatternSynonyms
|
|
- QuantifiedConstraints
|
|
- RebindableSyntax
|
|
- RecordWildCards
|
|
- RecursiveDo
|
|
- ScopedTypeVariables
|
|
- StandaloneDeriving
|
|
- TemplateHaskell
|
|
- TemplateHaskellQuotes
|
|
- TupleSections
|
|
- TypeApplications
|
|
- TypeFamilies
|
|
- TypeOperators
|
|
- ViewPatterns
|