Jeroen Engels
|
bf5a7dad8b
|
Use new test module and improved the range for DefaultPatternPosition
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
40cd398e35
|
Improve the range for NoExtraBooleanComparison
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
e96b6610b2
|
Use new test module for NoExtraBooleanComparison
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
75931b0f23
|
Use new test module for NoUnusedVariables
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
8ffb30c450
|
Use new test module for NoDebug
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
98d88e691e
|
Use new test module for NoImportingEverything
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
7c1fe28ede
|
Update Elm dependencies
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
75e80d0926
|
Rewrite the Lint.Test module to have a nicer API and much better error messages
|
2019-07-02 00:05:10 +02:00 |
|
Jeroen Engels
|
08cf4213b3
|
Reword the tip about withSimple* functions
|
2019-06-30 15:01:22 +02:00 |
|
Jeroen Engels
|
0755f0ec6f
|
Update project status in README
|
2019-06-28 00:03:07 +02:00 |
|
Jeroen Engels
|
9473c123bb
|
Rename Lint.Test's "ruleTester" to "run"
|
2019-06-28 00:03:07 +02:00 |
|
Jeroen Engels
|
1f7e5e08f8
|
Introduce a phantom type for Rule.Schema to prevent some API misuse
|
2019-06-28 00:03:07 +02:00 |
|
Jeroen Engels
|
c3ceccc3dd
|
Move Error to Lint.Rule
|
2019-06-28 00:03:07 +02:00 |
|
Jeroen Engels
|
fef78ddbb8
|
Add watch command in package.json
|
2019-06-28 00:03:07 +02:00 |
|
Jeroen Engels
|
5d465d8e95
|
Move TestUtil to Lint.Test and expose it in the package
|
2019-06-28 00:03:07 +02:00 |
|
Jeroen Engels
|
fbbb70749b
|
Move LintResult from Lint.Error to TestUtil
|
2019-06-26 11:51:48 +02:00 |
|
Jeroen Engels
|
b324066736
|
Move Direction to Lint.Rule
|
2019-06-26 11:42:17 +02:00 |
|
Jeroen Engels
|
3e580eabc3
|
Update Direction's documentation
|
2019-06-26 11:21:35 +02:00 |
|
Jeroen Engels
|
99d401a518
|
Update rule docs on how to add the rule in the config
|
2019-06-26 00:34:57 +02:00 |
|
Jeroen Engels
|
b49df6c83e
|
Rework the documentation for Lint.Rule
|
2019-06-26 00:31:01 +02:00 |
|
Jeroen Engels
|
854e0412db
|
Rework the documentation for Direction
|
2019-06-26 00:31:01 +02:00 |
|
Jeroen Engels
|
deb1d82267
|
Rewrite documentation for Lint.elm and remove unused imports
|
2019-06-26 00:31:01 +02:00 |
|
Jeroen Engels
|
79beb66a2a
|
Make Rule type opaque
|
2019-06-25 23:51:43 +02:00 |
|
Jeroen Engels
|
d23ba4a0a5
|
Move Rule definition to Lint.Rule
|
2019-06-25 23:51:43 +02:00 |
|
Jeroen Engels
|
861af01bb0
|
Rename Rule.newRuleSchema to Rule.newSchema
|
2019-06-25 23:51:43 +02:00 |
|
Jeroen Engels
|
692ebf2406
|
Simplify DefaultPatternPosition's configuration
|
2019-06-25 23:51:43 +02:00 |
|
Jeroen Engels
|
3ef7e6f5ab
|
Update the README.md a lot
|
2019-06-25 23:51:43 +02:00 |
|
Jeroen Engels
|
72c839e9f2
|
Use qualified imports for Elm.Syntax.Node
|
2019-06-24 12:32:07 +02:00 |
|
Jeroen Engels
|
19ffc231fd
|
Reorganized example
|
2019-06-24 01:20:10 +02:00 |
|
Jeroen Engels
|
507dc5f02e
|
Rename Msg name in example
|
2019-06-24 01:14:30 +02:00 |
|
Jeroen Engels
|
8d3aee574a
|
Make example a bit prettier
|
2019-06-24 01:11:18 +02:00 |
|
Jeroen Engels
|
8b2cdc9935
|
Refactor the example a bit
|
2019-06-24 01:11:05 +02:00 |
|
Jeroen Engels
|
116aee7538
|
Rename Rule2 to Rule
|
2019-06-24 00:52:23 +02:00 |
|
Jeroen Engels
|
f0b1733e8b
|
Remove previous Rule implementation
|
2019-06-24 00:52:23 +02:00 |
|
Jeroen Engels
|
9923ec0368
|
Use new Rule API in existing rules
|
2019-06-24 00:52:23 +02:00 |
|
Jeroen Engels
|
7bea2a6e00
|
Move Direction parameter after the node
|
2019-06-24 00:52:23 +02:00 |
|
Jeroen Engels
|
c1dd42bde9
|
Add fromSchema in new Rule file
|
2019-06-24 00:52:23 +02:00 |
|
Jeroen Engels
|
8bcb7c64c5
|
Rewrite visitors, so that they do not contain context as a type parameter.
|
2019-06-24 00:52:23 +02:00 |
|
Jeroen Engels
|
8426a09da8
|
Move context to be the last parameter of visitors
|
2019-06-24 00:52:23 +02:00 |
|
Jeroen Engels
|
95bbbc63cb
|
Start a new Rule implementation
|
2019-06-24 00:52:04 +02:00 |
|
Jeroen Engels
|
76f63ff1f6
|
Refactor: Move LintResult to Lint.Error
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
dcbf7d23a8
|
Simplify rules that do not need to use the context
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
25fb05d3f4
|
Move Direction to it's own module
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
bf8c6a4b76
|
Add rule NoExtraBooleanComparison
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
79885adde6
|
Add utilities to test rules
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
f8142b7450
|
Make error collecting faster
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
43eba229ae
|
Rename initContext to initialContext
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
3162a8bb68
|
Remove the need to specify error names when creating an error
|
2019-06-24 00:49:58 +02:00 |
|
Jeroen Engels
|
182385bfa9
|
Store the rule name along with the rule analyzer
|
2019-06-15 21:52:56 +02:00 |
|
Jeroen Engels
|
c1c32328f4
|
Simplify how a rule gets defined
|
2019-06-15 21:14:40 +02:00 |
|