mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-03 04:07:04 +00:00
web: the ESLint layer ignores the vendored parser and fixtures
The flat config enumerated tests/vendor/acorn.mjs under an empty rule set; an explicit ignore block keeps the second layer scoped to our own sources and immune to a future default that warns on config-less files. Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com>
This commit is contained in:
parent
cac70c9c0d
commit
83f64a2d85
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ const VENDORED_SCRIPT_GLOBALS = {
|
|||
};
|
||||
|
||||
export default [
|
||||
// The vendored parser the hermetic gate ships is not ours to lint.
|
||||
{ ignores: ['tests/vendor/**', 'tests/fixtures/**', 'node_modules/**'] },
|
||||
{
|
||||
// The ES modules the page loads.
|
||||
files: ['app.js', 'modules/**/*.js'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue