mirror of
https://github.com/Turfjs/turf.git
synced 2025-12-08 20:26:16 +00:00
* Configure ESlint and Prettier - Disable all eslint rules that trigger - Build's lint step now runs monorepoint, prettier, and eslint - Remove all tslint references * [auto] run prettier on everything Co-authored-by: Matt Fedderly <mfedderly@palantir.com>
17 lines
340 B
JavaScript
17 lines
340 B
JavaScript
#!/usr/bin/env node
|
|
|
|
const path = require("path");
|
|
const glob = require("glob");
|
|
const fs = require("fs");
|
|
|
|
let count = 1;
|
|
|
|
glob.sync(path.join(__dirname, "..", "packages", "turf-*")).forEach((pk) => {
|
|
fs.stat(path.join(pk, "index.ts"), function (err) {
|
|
if (err) {
|
|
console.log(count + ". " + pk);
|
|
count++;
|
|
}
|
|
});
|
|
});
|