summaryrefslogtreecommitdiffhomepage
path: root/data
Commit message (Collapse)AuthorAge
* Introduce nicer style for records (#266)Maxim Koltsov2020-02-17
|
* Support for records formatting (#256)Łukasz Gołębiewski2020-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial test describing simplest scenario for Data step Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * [sanity-check] Delete data defs * Extract changeDecl Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * First green test :-) * Cover case where there are more then one field in data type declaration Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Add case03 where a type variable is present * Add case04 - multiple declarations * Make case04 pass * Extend tests with case05 Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Add pending case06 Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Fix case 06 Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Add case07 Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Add second phantom case * Add records to config * Make indent size configurable for records Co-authored-by: Paweł Szulc <paul.szulc@gmail.com> * Fix warnings in Data.hs * Process derivings during record formatting Co-authored-by: Paweł Szulc <paul.szulc@gmail.com> * Do not format when context is present Co-authored-by: Paweł Szulc <paul.szulc@gmail.com> * Add case 11 - deriving with DerivingStrategies * Bugfix: do not remove empty data declarations Co-authored-by: Paweł Szulc <paul.szulc@gmail.com> * Update README example with ability to format records * Add case12 (Point) * Fix case 12 * Factor out processName * Apply hlint suggestions * Extract constructors helper function * Make 'indent' global * Remove unused Stylish.records method * Fix Config formatting in Config.hs * Extract processConstructor function Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Refactor datas function Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Include comments with AST. Two tests are still failing... * Fix cases 15 and 16 * Do not format records when comments within Co-authored-by: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> * Clean-up Data.hs * Refactor Data.hs Co-authored-by: Pawel Szulc <paul.szulc@gmail.com>
* Allow setting "columns: null" to disable all wrappingChris Martin2020-01-18
|
* Make language extension prefix configurableFlavio Corpa2019-11-20
|
* Add a cabal option to control cabal parsingJasper Van der Jeugt2019-10-29
|
* Add with_module_name option to list_alignRupert Horlick2019-06-12
|
* Add missing default messagesJonas Carpay2019-03-10
|
* Add new step to squash multiple spaces between some elementsMartin Huschenbett2018-05-01
|
* Rename list_same_align to pad_module_namesJasper Van der Jeugt2017-06-19
|
* Add `imports.list_same_align` optionYuriy Syrovetskiy2017-06-19
|
* Add space_surround option to import stylingLinus Arver2017-05-09
|
* Fix typos in the config fileArtyom2017-04-16
|
* Fix typo in comment in default configChris Martin2017-02-20
|
* list_padding: module_nameOleg Grenrus2016-08-03
|
* Special setting for empty import listsOleg Grenrus2016-08-01
|
* Move records step into simple_alignJasper Van der Jeugt2016-07-23
|
* Move Cases step to SimpleAlignJasper Van der Jeugt2016-07-23
|
* Merge pull request #116 from nightuser/newlineformatJasper Van der Jeugt2016-07-07
|\ | | | | Add newline format option
| * Add documentation for `newline` optionSvyatoslav Gryaznov2016-07-06
| |
| * Add newline format optionSvyatoslav Gryaznov2016-07-05
| |
* | Add alignment for some case expressionsJasper Van der Jeugt2016-07-03
|/
* typoYuriy Syrovetskiy2016-04-20
|
* Use underscores in the yaml optionsJasper Van der Jeugt2016-02-01
|
* New import list optionOndřej Janošík2015-09-21
| | | | | new line-multiline: Import list will start on new line when it's short enough to fit to single line. Otherwise it'll be multiline.
* Separate lists option for importsOndřej Janošík2015-09-10
|
* Align option for LanguagePragmasOndřej Janošík2015-09-10
|
* Added empty lines between import sections of config fileOndřej Janošík2015-07-10
|
* Updated default configuration fileOndřej Janošík2015-07-09
|
* Small fixes for #34Jasper Van der Jeugt2013-12-18
|
* * Rewrite function using `compact'.Hiromi Ishii2013-04-19
| | | | | | * Rename `compact' to `compact_line'. * Added the description for new style in .stylish-haskell.yml * Added test case for `compact_line'.
* Add a new import alignment mode 'file'.Mikhail Glushenkov2012-11-05
| | | | | | | | | | | | | | | | | This mode is like 'global', but doesn't add paddding for non-existent qualified imports. For example, with 'global' import A import B is always transformed to import A import B even if there are no qualified imports in the whole file.
* Move default config fileJasper Van der Jeugt2012-09-15