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 |
|
Jeroen Engels
|
68a4c9ab01
|
Simplify the final evaluation by not having it return a context
|
2019-06-15 21:13:40 +02:00 |
|
Jeroen Engels
|
e979393ef8
|
Rename visitor names
|
2019-06-15 20:33:09 +02:00 |
|
Jeroen Engels
|
6d9ff756c8
|
Use the builder pattern to create rules
|
2019-06-15 14:47:10 +02:00 |
|
Jeroen Engels
|
ede98bc179
|
Re-add DefaultPatternPosition
|
2019-06-08 23:12:55 +02:00 |
|
Jeroen Engels
|
21411aaf8c
|
Re-add NoImportingEverything
|
2019-06-03 00:30:24 +02:00 |
|
Jeroen Engels
|
7adba9b436
|
Update and remove dependencies
|
2019-06-03 00:05:11 +02:00 |
|
Jeroen Engels
|
9cd5b6f001
|
Add test command
|
2019-06-02 23:10:36 +02:00 |
|
Jeroen Engels
|
f6683e204d
|
Improve tests
|
2019-06-02 23:06:08 +02:00 |
|
Jeroen Engels
|
95f4989fa9
|
Naming
|
2019-06-02 23:06:08 +02:00 |
|
Jeroen Engels
|
d204c21772
|
Handle ports
|
2019-06-02 23:06:08 +02:00 |
|
Jeroen Engels
|
7689d01304
|
Naming
|
2019-06-02 23:06:08 +02:00 |
|
Jeroen Engels
|
245b22455d
|
import
|
2019-06-02 23:06:08 +02:00 |
|