-
While refactoring or reviewing code I often find problematic code, which occurs in similar forms in the complete codebase. Searching for those via a regex ist cumbersome and does not work for all case…
Febbe updated
8 months ago
-
```
sql = "SELECT a FROM t1 WHERE a=11 OR b=11"
for i = 12, 500, 1 do
sql = sql .. string.format(" OR a=%s OR b=%s", i, i) …
-
# Rule request
## Thesis
Sometimes you can find a code like this:
```python
for ... in ...:
if ...:
return False # or True
return True # or False
```
And this ugly…
-
## 配置文件的加载顺序
- 先加载plugins得到plugins
- 加载overrides得到plugins
- 加载presets 得到plugins
> Plugin 会从前到后顺序执行, Preset 的顺序则 刚好相反(从后向前)。(Preset是 plugin 的集合)
## babel解析过程
- @babel/cli 读取配置文件, 获取要编译的文件…
-
[Neslib.Clang](https://github.com/neslib/Neslib.Clang). `[Delphi]` Libclang for Delphi. Libclang is the C Interface to Clang's C family of compilers. It provides a relatively small API that exposes fa…
-
`gen-l10n` does not accept `.arb` files with 3-letter (alpha3-b and alpha3-t) language codes.
In [ubuntu-desktop-installer](https://github.com/canonical/ubuntu-desktop-installer), we would like to …
-
**Is your feature request related to a problem? Please describe.**
Currently, when diffing minimized bundled JavaScript code, there's a significant amount of 'noise' due to the bundler often changi…
-
While looking into how one could tackle zeek/tree-sitter-zeek#6 I looked into this grammar for inspiration and noticed that it has similar issues. In C or C++ preprocessor macros can appear around pre…
-
### Clear and concise description of the problem
### Add "start" & "end" options
It would be useful to have more control over the "padded-blocks".
_(I write classes/switches with padded start onl…
-
When reading its input files automake doesn't clearly separate the parsing, semantic analysis, and code generation phase. This design with the separation of concerns and makes the code hard for testin…