diff --git a/.eslintrc.js b/.eslintrc.js index 187894b..35ccf37 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,8 @@ module.exports = { root: true, extends: '@react-native', + // `eslint .` only skips node_modules and dotfiles on its own, so generated output that is + // merely gitignored still gets linted - a local `dist/` bundle alone reports 57k problems and + // fails the pre-commit hook. Keep this in sync with the artifact entries in .gitignore. + ignorePatterns: ['dist/', 'coverage/'], }; diff --git a/.gitignore b/.gitignore index 0be1efb..ee6cced 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,8 @@ output/ # Generated E2E host app __e2e__/host/ + +# Local build and tooling artifacts +dist/ +coverage/ +.serena/