diff --git a/.eslintrc.js b/.eslintrc.js index 89268631..a225dde4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,7 @@ module.exports = { + // Stop ESLint from also loading a parent directory's config, e.g. the main + // checkout's when linting from a git worktree nested inside it + root: true, env: { browser: false, es2021: true,