mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
14 lines
276 B
JavaScript
14 lines
276 B
JavaScript
module.exports = {
|
|
rules: {
|
|
'no-restricted-imports': [
|
|
'error',
|
|
{
|
|
/** The mocha tests run on the compiled output in the /lib directory
|
|
* so we should avoid importing from src.
|
|
*/
|
|
patterns: ['*src*'],
|
|
},
|
|
],
|
|
},
|
|
};
|