jeparlefrancais
jeparlefrancais
Probably only in the CLI part of the project, it could read files and perform code transforms while waiting for IO.
When a numeric for statement is used with a constant start, end and/or step value, the loop can be unwrapped into the repeated statements of the block. This rule should...
In GitLab by @matthargett on Oct 3, 2021, 12:00 Const fold trivial module exports from a specified module: SchedulerFeatureFlags.new.lua: ```lua local exports = { debug = false } exports.taskAPI =...
```lua function foo.bar() end ``` Turns into: ```lua foo.bar = function() end ```
For code similar to this: ```lua local var = (function() if something then return "foo" else return "bar" end end)() ``` It can be simplified to avoid the cost of...
This rule would take code that looks like this: ```lua local function Component(props) local textColor = props.style.text.default local highlight = props.style.text.red end ``` And transform it into: ```lua local function...
This is a special case of the rule describe in issue #26 darklua needs to assume that `require` is a function call that does not perform any side-effects, so that...
It would be nice to have some kind of JSX syntax that could be translated to Roact code directly.
When giving a directory path to the minify command, it would be nice to be able to filter files. It's useful to skip test files ending with `.spec.lua` for example.
When calling a function that only has a single statement, that statement can be inlined where the function call is. This needs to be done very carefully, since we need...