Skip to content

Commit

Permalink
add ignored directory to eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Aimé Capela-Coyral authored and Aimé Capela-Coyral committed Jan 19, 2025
1 parent db30abe commit 12747c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ const unusedImports = require("eslint-plugin-unused-imports");
const typescript = require("@typescript-eslint/parser");

module.exports = [
{ // Ignored directory
ignores: [
"**/node_modules/",
"**/android/",
"**/ios/",
"**/.*"
]
},
{ // Apply to `cjs`, `.mjs` and `.js` files.
files: ["**/*.?([cm])js?(x)"]
},
Expand Down

0 comments on commit 12747c4

Please sign in to comment.