Replies: 1 comment 2 replies
-
Hi @erosman, the choice is yours! You can pass in any regexp pattern that works for the for example, /* eslint "no-unused-vars": ["warn", {"varsIgnorePattern": "^_My"}] */
class _MySomething {
static {
this.set();
}
static set() {
// do something
}
} Here all class names that start with
Any regexp pattern that is accepted by eslint/lib/rules/no-unused-vars.js Line 110 in 05d6e99 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1
How can an ignore be set for the unused class names (there are a few) used in Side Effect modules?
.eslintrc.json
2
What is the regexp format used in "varsIgnorePattern"?
Beta Was this translation helpful? Give feedback.
All reactions