Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove redundant assignments & use "createRequire" (#437)
Redundant Assignments: These lines are no longer needed because these fields are added by `createRule` function when the rules are initialized ``` rule.meta.docs.ruleName = ruleName rule.meta.docs.ruleId = ruleId ``` Make it more ES module by using `createRequire`: - No longer suppress the ESLint, the ESLint was warned for using `require` in a ts file. [@typescript-eslint/no-require-imports](https://typescript-eslint.io/rules/no-require-imports)
- Loading branch information