You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit your `.eslintrc.js` configuration file to extend one of the available configurations from this plugin and [detect unused disable directives](https://eslint.org/docs/latest/user-guide/configuring/rules#report-unused-eslint-disable-comments):
21
+
Edit your `.eslintrc.js` configuration file to extend one of the available configurations from this plugin:
22
22
23
23
```js
24
24
module.exports= {
25
-
reportUnusedDisableDirectives:true,
26
25
extends: ['plugin:square/base'], // Or other configuration.
27
26
};
28
27
```
29
28
30
-
Add the relevant lint scripts in `package.json` with [npm-run-all](https://github.com/mysticatea/npm-run-all):
29
+
Add the relevant lint scripts in `package.json` with [npm-run-all](https://github.com/mysticatea/npm-run-all) and include detection for [unused disable directives](https://eslint.org/docs/latest/user-guide/command-line-interface#--report-unused-disable-directives):
0 commit comments