1. Convert leading indentation to tabs or spaces at random.
2. Insert trailing spaces.
3. Use varying indentation styles - pick at random from: https://en.wikipedia.org/wiki/Indentation_style#Overview
1. Convert leading indentation to tabs or spaces at random.
2. Insert trailing spaces.
3. Use varying indentation styles - pick at random from: https://en.wikipedia.org/wiki/Indentation_style#Overview
{
const { prop1: a, prop2: A, prop3: xTy } = obj
// …
{
const { prop1: A, prop2: xTy, prop3: a } = obj
// …
}
}
Something like that.And randomly add "-Decorator" suffix to class names.
Ages ago, I tried to diplomatically explain to our Senior Architect Grand Poobah (and my team lead) that one set of Decorators are actually Chain of Commands. And that they shouldn't be silently swallowing exceptions.
After a few minutes, he says "u/specialist, I'm surprised someone with your experience doesn't understand architecture." Then gets up and walks away.
function Make_List(firstString, second_string, chThirdString) {
var a = [firstString, second_string, chThirdString];
return a;
}It was horrendous to look at at first, but I’ve gotten used to it by now and just apply the same random style to whatever snippets I modify. :)
GitHub will use a file `.git-blame-ignore-revs` to allow blame to ignore commits that make those kind of changes. (This is the format used for the `--ignore-revs-file` option to `git blame`.)
Minify every third variable randomly.
So, Go?