summaryrefslogtreecommitdiff
path: root/compiler/.hlint.yaml
Commit message (Collapse)AuthorAgeFilesLines
* Change `Backend` type and remove direct dependencieswip/backend-as-recordNorman Ramsey2022-05-211-0/+8
| | | | | | | | | | | | | | | | | | | With this change, `Backend` becomes an abstract type (there are no more exposed value constructors). Decisions that were formerly made by asking "is the current back end equal to (or different from) this named value constructor?" are now made by interrogating the back end about its properties, which are functions exported by `GHC.Driver.Backend`. There is a description of how to migrate code using `Backend` in the user guide. Clients using the GHC API can find a backdoor to access the Backend datatype in GHC.Driver.Backend.Internal. Bumps haddock submodule. Fixes #20927
* hlint: Ignore suggestions in generated HaddockLex fileMatthew Pickering2022-04-011-1/+1
| | | | | | | | With the make build system this file ends up in the compiler/ subdirectory so is linted. With hadrian, the file ends up in _build so it's not linted. Fixes #21313
* Suggestions due to hlintMatthew Pickering2022-02-241-0/+3
| | | | | It turns out this job hasn't been running for quite a while (perhaps ever) so there are quite a few failures when running the linter locally.
* Add compiler linting to CIHécate2021-03-251-1/+0
| | | | | This commit adds the `lint:compiler` Hadrian target to the CI runner. It does also fixes hints in the compiler/ and libraries/base/ codebases.
* Add the proper HLint rules and remove redundant keywords from compilerHécate2020-11-011-0/+17
|
* Lint the compiler for extraneous LANGUAGE pragmasHécate2020-10-101-0/+7