fixable lint rules #929
Replies: 4 comments
-
I like the idea!! This could be a great addition and feels like prettier, which also has a |
Beta Was this translation helpful? Give feedback.
-
If the lint system provides rules with the possibility to fix the AST with rules, supporting |
Beta Was this translation helpful? Give feedback.
-
cc @martin.lysk |
Beta Was this translation helpful? Give feedback.
-
also helpful to resolve missing declarations opral/inlang-sherlock#74 (comment) |
Beta Was this translation helpful? Give feedback.
-
Since inlang already lines missingReferences, there could be a command that removes obsolete keys from all files. This has to be done manually in the code at the moment. Perhaps this can also be triggered via the inlang editor.
This would make it possible to run a
lint --fix
command that removes obsolete keys and adds the missing translations by machine translation. Furthermore, it could be very useful for CI/CD pipelines.@felixhaeberle What do you think about this?
Beta Was this translation helpful? Give feedback.
All reactions