@upleveled/preflight 8.1.3 → 8.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -69,7 +69,8 @@ export default async function eslintConfigIsValid() {
|
|
|
69
69
|
|
|
70
70
|
for await (const { path } of readdirp('.', {
|
|
71
71
|
directoryFilter: (dir) =>
|
|
72
|
-
|
|
72
|
+
// TODO: Read `.gitignore` to add ignored folders and files to this hardcoded array
|
|
73
|
+
!['.expo', '.git', '.next', 'node_modules'].includes(dir.basename),
|
|
73
74
|
fileFilter: (file) => /\.(?:js|jsx|ts|tsx)$/.test(file.basename),
|
|
74
75
|
})) {
|
|
75
76
|
const fileContents = await fs.readFile(path, 'utf-8');
|