{"_id":"@alphacifer/eslint","_rev":"2-eb929956036f76ac14bde688bea227c6","name":"@alphacifer/eslint","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@alphacifer/eslint","version":"0.0.1","keywords":["alpha","dx","eslint"],"author":{"name":"Alpha"},"license":"MIT","_id":"@alphacifer/eslint@0.0.1","maintainers":[{"name":"zgid123","email":"alphanolucifer@gmail.com"}],"homepage":"https://github.com/zgid123/alpha-dx#readme","bugs":{"url":"https://github.com/zgid123/alpha-dx/issues"},"dist":{"shasum":"40ee6e9015d8538148808f9d08aa34c5616f493b","tarball":"https://registry.npmjs.org/@alphacifer/eslint/-/eslint-0.0.1.tgz","fileCount":6,"integrity":"sha512-2ufR+JVgdhmad1P60jNomOYFjUY126pHatfQn+jMIbYfxxv+XTVpTAE8w7t8D0KrqCPUYVYQvwHe+wxGwT6tDw==","signatures":[{"sig":"MEQCIFbSajdLbOZrBf6BAeuid4V1+m5myrPwrANR89a4kIfiAiABK14HSM8Qrq4XFaVJxIZE5Q7stWDTWdbEqpElubBQSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6772},"_from":"file:alphacifer-eslint-0.0.1.tgz","exports":{"./base":"./lib/base.js","./next":"./lib/next.js","./react":"./lib/react.js","./react-app":"./lib/react-app.js"},"_npmUser":{"name":"zgid123","email":"alphanolucifer@gmail.com"},"_resolved":"/private/var/folders/2l/jhsq26s53x91k3xwvs8c28fh0000gn/T/5d4177cda27a9c5eee164022ae256c2c/alphacifer-eslint-0.0.1.tgz","_integrity":"sha512-2ufR+JVgdhmad1P60jNomOYFjUY126pHatfQn+jMIbYfxxv+XTVpTAE8w7t8D0KrqCPUYVYQvwHe+wxGwT6tDw==","repository":{"url":"git+https://github.com/zgid123/alpha-dx.git","type":"git"},"_npmVersion":"10.9.2","description":"All eslint for Alpha's projects.","directories":{},"_nodeVersion":"23.11.0","dependencies":{"globals":"^16.2.0","@eslint/js":"^9.28.0","@eslint/compat":"^1.2.9","@eslint/eslintrc":"^3.3.1","eslint-config-next":"^15.3.3","eslint-plugin-react":"^7.37.5","eslint-plugin-import":"^2.31.0","eslint-config-prettier":"^10.1.5","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-prettier":"^5.4.1","eslint-plugin-storybook":"^9.0.5","@next/eslint-plugin-next":"^15.3.3","@typescript-eslint/parser":"^8.33.1","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.20","@typescript-eslint/eslint-plugin":"^8.33.1"},"_hasShrinkwrap":false,"peerDependencies":{"eslint":"^9.28.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint_0.0.1_1749247912109_0.7575677455037395","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@alphacifer/eslint","version":"0.0.2","type":"module","description":"All eslint for Alpha's projects.","exports":{"./base":"./lib/base.js","./next":"./lib/next.js","./react-app":"./lib/react-app.js","./react":"./lib/react.js"},"keywords":["alpha","dx","eslint"],"author":{"name":"Alpha"},"repository":{"type":"git","url":"git+https://github.com/zgid123/alpha-dx.git"},"license":"MIT","dependencies":{"@eslint/compat":"^1.2.9","@eslint/eslintrc":"^3.3.1","@eslint/js":"^9.28.0","@next/eslint-plugin-next":"^15.3.3","@typescript-eslint/eslint-plugin":"^8.33.1","@typescript-eslint/parser":"^8.33.1","eslint-config-next":"^15.3.3","eslint-config-prettier":"^10.1.5","eslint-plugin-import":"^2.31.0","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-prettier":"^5.4.1","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.20","eslint-plugin-storybook":"^9.0.5","globals":"^16.2.0"},"peerDependencies":{"eslint":"^9.28.0"},"_id":"@alphacifer/eslint@0.0.2","bugs":{"url":"https://github.com/zgid123/alpha-dx/issues"},"homepage":"https://github.com/zgid123/alpha-dx#readme","_integrity":"sha512-QCmfFtFR0aBxuigUGaYGjrR4+EVQu2OLfj59/HwYCSkip6ap7QaJe2DT206oO+liv/frbg0cNlR4m1oRl2qUSw==","_resolved":"/private/var/folders/2l/jhsq26s53x91k3xwvs8c28fh0000gn/T/8d145ac992305989b17029d51bb50915/alphacifer-eslint-0.0.2.tgz","_from":"file:alphacifer-eslint-0.0.2.tgz","_nodeVersion":"23.11.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-QCmfFtFR0aBxuigUGaYGjrR4+EVQu2OLfj59/HwYCSkip6ap7QaJe2DT206oO+liv/frbg0cNlR4m1oRl2qUSw==","shasum":"46956113a726ecf945f5cc6a6a71b31162a41217","tarball":"https://registry.npmjs.org/@alphacifer/eslint/-/eslint-0.0.2.tgz","fileCount":6,"unpackedSize":6810,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDYZN86i1bk1EN7BOBEmYxySxoOXGV1Le+p0Gga28ClGgIhAK/KDkIbrBNJdY5ucYOD3dr2XkxtZrCpyk7uBUibz0LP"}]},"_npmUser":{"name":"zgid123","email":"alphanolucifer@gmail.com"},"directories":{},"maintainers":[{"name":"zgid123","email":"alphanolucifer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint_0.0.2_1749249716588_0.047354727728083246"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-06T22:11:51.705Z","modified":"2025-06-06T22:41:56.972Z","0.0.1":"2025-06-06T22:11:52.293Z","0.0.2":"2025-06-06T22:41:56.766Z"},"bugs":{"url":"https://github.com/zgid123/alpha-dx/issues"},"author":{"name":"Alpha"},"license":"MIT","homepage":"https://github.com/zgid123/alpha-dx#readme","keywords":["alpha","dx","eslint"],"repository":{"type":"git","url":"git+https://github.com/zgid123/alpha-dx.git"},"description":"All eslint for Alpha's projects.","maintainers":[{"name":"zgid123","email":"alphanolucifer@gmail.com"}],"readme":"All eslint for Alpha's projects.\n\n# Introduction\n\n- `base.js`: basic config for all projects\n- `next.js`: config for all Next.js projects\n- `react-app.js`: config for all React App projects\n- `react.js`: config for all React packages/apps\n\n# Usage\n\nSet `\"type\": \"module\"` for root `package.json`\n\n## Installation\n\n```sh\npnpm add -D eslint @alphacifer/eslint typescript-eslint\n```\n\n## Apply configuration\n\n```js\nimport tsEslint from 'typescript-eslint';\nimport baseLint from '@alphacifer/eslint/base';\nimport nextLint from '@alphacifer/eslint/next';\nimport reactLint from '@alphacifer/eslint/react';\nimport reactAppLint from '@alphacifer/eslint/react-app';\n\nexport default tsEslint.config(\n  {\n    ...baseLint,\n    files: ['**/*.ts', '**/*.tsx', '**/*.js'],\n  },\n  {\n    ...reactLint,\n    files: [\n      'packages/@react/**/*.ts',\n      'packages/@react/**/*.tsx',\n      'workspaces/**/*.ts',\n      'workspaces/**/*.tsx',\n    ],\n  },\n  {\n    ...reactAppLint,\n    files: ['workspaces/**/*.ts', 'workspaces/**/*.tsx'],\n    ignores: [\n      'workspaces/<next-project>/**/*.ts',\n      'workspaces/<next-project>/**/*.tsx',\n    ],\n  },\n  ...nextLint.map((config) => {\n    return {\n      ...config,\n      files: [\n        'workspaces/<next-project>/**/*.ts',\n        'workspaces/<next-project>/**/*.tsx',\n      ],\n    };\n  }),\n);\n```\n","readmeFilename":"README.md"}