Improve formatting and settings in pre-commit configuration for fourmolu
- Added new settings: function-arrows, haddock-style, haddock-style-module, import-export-style, in-style, let-style, single-constraint-parens, and unicode.
This commit is contained in:
parent
3857b5dfa3
commit
594c0e99a9
|
@ -18,15 +18,22 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fourmolu.settings = {
|
fourmolu.settings = {
|
||||||
indentation = 2;
|
column-limit = 120;
|
||||||
comma-style = "leading";
|
comma-style = "leading";
|
||||||
record-brace-space = true;
|
|
||||||
indent-wheres = true;
|
|
||||||
import-export-style = "diff-friendly";
|
|
||||||
respectful = true;
|
|
||||||
haddock-style = "multi-line";
|
|
||||||
newlines-between-decls = 1;
|
|
||||||
extensions = [ "ImportQualifiedPost" ];
|
extensions = [ "ImportQualifiedPost" ];
|
||||||
|
function-arrows = "leading";
|
||||||
|
haddock-style = "single-line";
|
||||||
|
haddock-style-module = "single-line";
|
||||||
|
import-export-style = "leading";
|
||||||
|
in-style = "left-align";
|
||||||
|
indent-wheres = false;
|
||||||
|
indentation = 2;
|
||||||
|
let-style = "inline";
|
||||||
|
newlines-between-decls = 1;
|
||||||
|
record-brace-space = true;
|
||||||
|
respectful = true;
|
||||||
|
single-constraint-parens = "always";
|
||||||
|
unicode = "never";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue