LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
MISC: Add comprehensive linting and formatting scripts (#1459)
Chandrasekharan Mcc6e1f4e1016
diff --git a/frontend/README.md b/frontend/README.mdindex 4fa0bf86d..3287e57e8 100644--- a/frontend/README.md+++ b/frontend/README.md@@ -54,6 +54,21 @@ Your app is ready to be deployed!See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.+### Linting and Formatting++The project includes ESLint and Prettier for code quality and formatting.++**Available commands:**++- `npm run lint` - Check for linting errors+- `npm run lint:fix` - Auto-fix linting errors+- `npm run prettier` - Check formatting issues+- `npm run prettier:fix` - Auto-fix formatting issues+- `npm run lint:all` - Run both ESLint and Prettier fixes on all files+- `npm run lint:changed` - Run ESLint and Prettier only on changed files++**Note:** Make sure to run `npm install` first to install the required dependencies.+## React Strict Mode*React Strict Mode* is enabled by default, which will **mount all components twice** during local development.diff --git a/frontend/package.json b/frontend/package.jsonindex 02540486b..98154ebdf 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -62,7 +62,10 @@"eject": "react-scripts eject","lint": "eslint src/","lint:fix": "eslint src/ --fix",- "lint:changed": "git diff --name-only --diff-filter=ACMR | grep '\\.jsx\\?$' | xargs -r eslint || echo 'No JS/JSX files changed'"+ "prettier": "prettier --check src/",+ "prettier:fix": "prettier --write src/",+ "lint:all": "npm run lint:fix && npm run prettier:fix",+ "lint:changed": "(git diff --name-only --diff-filter=ACMR; git ls-files --others --exclude-standard) | grep '\\.jsx\\?$' | sed 's|^frontend/||' | sort -u | xargs -r sh -c 'eslint --fix \"$@\" && prettier --write \"$@\"' _ || echo 'No JS/JSX files changed'"},"eslintConfig": {"extends": [