{"_id":"@capitol.ai/eslint-config-base","_rev":"2-03c53b6d33246e74c12d2233a5bc8036","name":"@capitol.ai/eslint-config-base","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@capitol.ai/eslint-config-base","version":"0.0.1","keywords":["eslint","prettier","typescript","linting"],"author":"","license":"MIT","_id":"@capitol.ai/eslint-config-base@0.0.1","maintainers":[{"name":"miguel.capitolai","email":"miguel@capitol.ai"},{"name":"tuanhtle97","email":"tuanhtle97@gmail.com"},{"name":"capitolai-ilia","email":"ilia@capitol.ai"},{"name":"masha.capitolai","email":"masha@capitol.ai"}],"dist":{"shasum":"d232374b20d2ee2afd961dbed8cdfa44dda58a85","tarball":"https://registry.npmjs.org/@capitol.ai/eslint-config-base/-/eslint-config-base-0.0.1.tgz","fileCount":4,"integrity":"sha512-ojkNx6NpYky+oYIrtphGD4EmN+dHQ2IXlljHcFjQ8O5Wcnb3iDeFV0/v7m6z9PbksS01hrtWIgP6QX8gMsjjBQ==","signatures":[{"sig":"MEQCIBxzPVDDdjN6l696jSpT8fj6pkhMi5TT6UYGHSl6YB5gAiAJ82aLU5VR7kY/r6qvHeNEO2POlf8LW4RZo28hug/tdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4124},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"masha.capitolai","email":"masha@capitol.ai"},"_npmVersion":"11.3.0","description":"Shareable ESLint and Prettier configuration","directories":{},"_nodeVersion":"22.14.0","dependencies":{"eslint-config-next":"^14.0.0","eslint-plugin-react":"^7.33.2","eslint-plugin-import":"^2.29.1","eslint-config-prettier":"^9.1.0","eslint-plugin-jsx-a11y":"^6.8.0","eslint-plugin-prettier":"^5.1.3","@typescript-eslint/parser":"^7.0.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"_hasShrinkwrap":false,"peerDependencies":{"next":">=14.0.0","react":">=18.0.0","eslint":">=8.0.0","prettier":">=3.0.0","typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-base_0.0.1_1745519115969_0.7994096165359224","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-04-24T18:25:15.899Z","modified":"2026-02-10T20:50:56.187Z","0.0.1":"2025-04-24T18:25:16.142Z"},"license":"MIT","keywords":["eslint","prettier","typescript","linting"],"description":"Shareable ESLint and Prettier configuration","maintainers":[{"email":"miguel@capitol.ai","name":"miguel.capitolai"},{"email":"tuanhtle97@gmail.com","name":"tuanhtle97"},{"email":"masha@capitol.ai","name":"masha.capitolai"}],"readme":"# ESLint and Prettier Configuration\n\nA shareable ESLint and Prettier configuration for TypeScript and React projects.\n\n## Installation\n\n```bash\nnpm install --save-dev @capitol.ai/eslint-config-base\n```\n\n## Usage\n\nIn your project's `.eslintrc.js`:\n\n```js\nmodule.exports = {\n  extends: ['@capitol.ai/eslint-config-base'],\n};\n```\n\nIn your project's `package.json`:\n\n```json\n{\n  \"prettier\": \"@capitol.ai/eslint-config-base\"\n}\n```\n\n## Features\n\n- TypeScript support with strict type checking\n- React and React Hooks best practices\n- Accessibility (a11y) rules\n- Import sorting and organization\n- Prettier integration\n- Next.js core web vitals\n- Modern JavaScript features\n- Common best practices\n\n## Configuration Details\n\n### ESLint Rules\n\n- TypeScript strict type checking\n- React and React Hooks best practices\n- JSX accessibility rules\n- Import sorting and organization\n- Prettier integration\n- Next.js core web vitals optimization\n\n### Prettier Configuration\n\n```js\n{\n  \"arrowParens\": \"always\",\n  \"bracketSpacing\": true,\n  \"endOfLine\": \"lf\",\n  \"jsxBracketSameLine\": false,\n  \"jsxSingleQuote\": true,\n  \"printWidth\": 80,\n  \"semi\": true,\n  \"singleQuote\": true,\n  \"tabWidth\": 2,\n  \"trailingComma\": \"all\",\n  \"useTabs\": false\n}\n```\n\n## Ignored Files\n\nThe following files are ignored by Prettier:\n- Markdown files (*.md)\n- Configuration files (*.json, *.yml, *.yaml)\n- Lock files (package-lock.json, yarn.lock, pnpm-lock.yaml)\n- Build directories (dist, build, .next)\n- Dependencies (node_modules)\n- Coverage reports (coverage)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}