{"_id":"@cnri/eslint-config","name":"@cnri/eslint-config","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cnri/eslint-config","version":"1.0.0","license":"SEE LICENSE IN LICENSE.txt","description":"ESLint config used by CNRI","keywords":["eslint","eslintconfig"],"homepage":"https://www.cordra.org","repository":{"type":"git","url":"git+https://gitlab.com/cnri/cnri-eslint-config.git"},"author":{"name":"CNRI"},"type":"module","main":"eslint.config.js","peerDependencies":{"@eslint/js":"^9.33.0","@stylistic/eslint-plugin":"^5.2.3","eslint":"^9.33.0","eslint-plugin-import":"^2.32.0","eslint-plugin-n":"^17.21.3","globals":"^16.3.0","typescript-eslint":"^8.39.0"},"_id":"@cnri/eslint-config@1.0.0","bugs":{"url":"https://gitlab.com/cnri/cnri-eslint-config/issues"},"_integrity":"sha512-kh7hp7q3TJr87uRbZbY65bXyG/X7qJJp2NRzyNUPxVWnDBFh9D3Nfjr/ao2uy1YotJPAjD+cAnAJnKo95N6waw==","_resolved":"/Users/schneck/eslint-config/cnri-eslint-config-1.0.0.tgz","_from":"file:cnri-eslint-config-1.0.0.tgz","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-kh7hp7q3TJr87uRbZbY65bXyG/X7qJJp2NRzyNUPxVWnDBFh9D3Nfjr/ao2uy1YotJPAjD+cAnAJnKo95N6waw==","shasum":"665201aad42217cc5455e56f091a3230398e3035","tarball":"https://registry.npmjs.org/@cnri/eslint-config/-/eslint-config-1.0.0.tgz","fileCount":4,"unpackedSize":20094,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCgyKuK+OP7afz3JojC8dm7WCth/HXIxaM7ny2WN9mTfwIhAP9X2laYMv43827rBIK4O6IMFSgada0SOkoaotVtZSrm"}]},"_npmUser":{"name":"cnri-admin","email":"cloud-admin@cnri.reston.va.us"},"directories":{},"maintainers":[{"name":"cnri-admin","email":"cloud-admin@cnri.reston.va.us"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config_1.0.0_1755239015009_0.2250923260619262"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-15T06:23:34.951Z","1.0.0":"2025-08-15T06:23:35.205Z","modified":"2025-08-15T06:23:35.471Z"},"maintainers":[{"name":"cnri-admin","email":"cloud-admin@cnri.reston.va.us"}],"description":"ESLint config used by CNRI","homepage":"https://www.cordra.org","keywords":["eslint","eslintconfig"],"repository":{"type":"git","url":"git+https://gitlab.com/cnri/cnri-eslint-config.git"},"author":{"name":"CNRI"},"bugs":{"url":"https://gitlab.com/cnri/cnri-eslint-config/issues"},"license":"SEE LICENSE IN LICENSE.txt","readme":"# @cnri/eslint-config\n\nA comprehensive ESLint configuration used for JavaScript and TypeScript projects.\n\n## Installation\n\nIf you are upgrading from an earlier version of this config with different peer dependencies, you may need to remove them before installing the new ones:\n\n```bash\nnpm remove @babel/eslint-parser @cnri/eslint-config eslint eslint-plugin-import @typescript-eslint/eslint-plugin @typescript-eslint/parser\n```\n\nInstall the package. Note npm v7 will automaticalling install its peer dependencies.\nIf you use any of the peer dependencies explicitly (as in the imports of eslint.config.js) install them explicitly as needed to avoid errors linting eslint.config.js; here we install eslint explicitly.\n\n```bash\n# Install the config and eslint\nnpm install -D @cnri/eslint-config eslint\n\n# Install peer dependencies, only if needed\nnpm install -D @eslint/js eslint-plugin-import eslint-plugin-n globals typescript-eslint @stylistic/eslint-plugin\n```\n\n## Usage\n\nIn your ESLint configuration file (`eslint.config.js`), import and use this configuration:\n\n```javascript\nimport cnriConfig from '@cnri/eslint-config';\nimport { defineConfig } from 'eslint/config';\n\nexport default defineConfig([\n    {\n        extends: [ cnriConfig ]\n    }\n]);\n```\n\nYou can also extend the configuration with your own rules:\n\n```javascript\nimport cnriConfig from '@cnri/eslint-config';\nimport { defineConfig } from 'eslint/config';\n\nexport default defineConfig([\n    {\n        extends: [ cnriConfig ],\n        // Your custom configuration here\n    }\n]);\n```\n","readmeFilename":"README.md","_rev":"1-18bc8c965328185594c3b5d6c16435ce"}