diff --git a/index.js b/index.js index 27174c0..3ec39d9 100644 --- a/index.js +++ b/index.js @@ -98,15 +98,46 @@ const config = { ignoreUsedVariables: true, }, ], + "unicorn/prevent-abbreviations": [ "error", { - extendDefaultReplacements: false, replacements: { - err: { - error: true, + acc: false, + arg: false, + args: false, + db: false, + dev: false, + doc: false, + docs: false, + env: false, + err: false, + ev: false, + evt: false, + ext: false, + exts: false, + fn: false, + func: { + fn: true, + function: false, }, + i: false, + j: false, + num: false, + obj: false, + param: false, + params: false, + prev: false, + prod: false, + prop: false, + props: false, + ref: false, + refs: false, + str: false, + var: false, + vars: false, }, + ignore: ["semVer", "SemVer"], }, ], "unicorn/filename-case": [