I use airbnb-base eslint rule. I have a function in a.js
const test = () => {
console.log('OK');
}
And in b.js
import '../scripts/a.js';
test()
But in eslint error is no-unused-vars in a.js and no-undef in b.js.
I don't want to change the rules of ESLint and I would like to find an elegant way to get rid of these error messages. How should I do? Thanks.