{"_id":"@chaos-theory/eslint-config","_rev":"12-a980112e4fa98d0d6354b44b4a282e04","name":"@chaos-theory/eslint-config","dist-tags":{"latest":"1.0.8"},"versions":{"0.0.1":{"name":"@chaos-theory/eslint-config","version":"0.0.1","keywords":["eslint"],"author":{"url":"Chaos Theory","name":"Sohail Yar Khan"},"license":"MIT","_id":"@chaos-theory/eslint-config@0.0.1","maintainers":[{"name":"sohail-chaos","email":"sk@chaostheory.hk"}],"homepage":"https://github.com/bitgaming/eslint-config#readme","bugs":{"url":"https://github.com/bitgaming/eslint-config/issues"},"dist":{"shasum":"c858898611f8befbbb1135596f4d4dde95ecd7f4","tarball":"https://registry.npmjs.org/@chaos-theory/eslint-config/-/eslint-config-0.0.1.tgz","fileCount":10,"integrity":"sha512-GCoS4XpmaLi7MR8ZMrXRz65FpE04R0Zl1S4LBIrr8Zth9xLTLs0HGdLpzc+tvT/3VHlntQTs/mEDYb9S3mazpQ==","signatures":[{"sig":"MEUCIQCkXMv8k6qv9xzFSN7c4ylg7HRIP21TQc3UrH/pTIxwvQIgHr2xYAewBMbaXNa4WUy4tEtKnCdMzQlYgKNSpA0lmtE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":140289},"main":"index.js","gitHead":"2ce506fe3e360dbd636a16fa232e0f5951b60374","private":false,"_npmUser":{"name":"sohail-chaos","email":"sk@chaostheory.hk"},"repository":{"url":"git+ssh://git@github.com/bitgaming/eslint-config.git","type":"git"},"_npmVersion":"10.2.3","description":"Set of eslint configs and rules recommended by Chaos Theory for React React Native and NodeJS projects. These have been chunked into React, Imports, Promises etc.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint":"^8.52.0","prettier":"^3.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.9.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.9.0","eslint-import-resolver-typescript":"^3.6.1","@react-native-community/eslint-config":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"eslint":">=8","prettier":">=3"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.1_1701399909693_0.10788468362954307","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@chaos-theory/eslint-config","version":"1.0.0","keywords":["eslint"],"author":{"url":"Chaos Theory","name":"Sohail Yar Khan"},"license":"MIT","_id":"@chaos-theory/eslint-config@1.0.0","maintainers":[{"name":"sohail-chaos","email":"sk@chaostheory.hk"}],"homepage":"https://github.com/bitgaming/eslint-config#readme","bugs":{"url":"https://github.com/bitgaming/eslint-config/issues"},"dist":{"shasum":"937dd6ed9f7f3429a22b7183f7211e88447f19a2","tarball":"https://registry.npmjs.org/@chaos-theory/eslint-config/-/eslint-config-1.0.0.tgz","fileCount":9,"integrity":"sha512-S0eYr0Tu9g6+/gbe6jL3qgeFjI5V5wodXoPwzbacxgPmrDqcYXr4vmf0FEYSOMogp+O2Gw7wMMf7TYV2kJprBw==","signatures":[{"sig":"MEYCIQD9tdXCF597LloK49gSgwlvE7AIGeT8Wpo1PzY21LN4owIhAKnpVx4TrDyAjdUdopodjRrDisYXG4AXPUcCko8jy82z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8167},"main":"index.js","gitHead":"2ce506fe3e360dbd636a16fa232e0f5951b60374","_npmUser":{"name":"sohail-chaos","email":"sk@chaostheory.hk"},"repository":{"url":"git+ssh://git@github.com/bitgaming/eslint-config.git","type":"git"},"_npmVersion":"10.2.3","description":"Set of eslint configs and rules recommended by Chaos Theory for React React Native and NodeJS projects. These have been chunked into React, Imports, Promises etc.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint":"^8.52.0","prettier":"^3.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.9.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.9.0","eslint-import-resolver-typescript":"^3.6.1","@react-native-community/eslint-config":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"eslint":">=8","prettier":">=3"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.0_1701403915897_0.967446592844029","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@chaos-theory/eslint-config","version":"1.0.5","keywords":["eslint"],"author":{"url":"Chaos Theory","name":"Sohail Yar Khan"},"license":"MIT","_id":"@chaos-theory/eslint-config@1.0.5","maintainers":[{"name":"sohail-chaos","email":"sk@chaostheory.hk"}],"homepage":"https://github.com/bitgaming/eslint-config#readme","bugs":{"url":"https://github.com/bitgaming/eslint-config/issues"},"dist":{"shasum":"b251055bd6a70bb2f4b711d962aae852d47b2a9b","tarball":"https://registry.npmjs.org/@chaos-theory/eslint-config/-/eslint-config-1.0.5.tgz","fileCount":9,"integrity":"sha512-NZQD9NTOXCHygIDiq0gdJSTC5SsByygaBzp1mF40Uq8kMpXCyxiq6rBsbAbOn7xd4TipYFvSqJalOjMqiV0ozg==","signatures":[{"sig":"MEQCIBqYYJTs1rgDCIliYZ9bGYhDaHXDCHyU4G/+vuHCA8b7AiBs3rf4we0PfwaC6SUJk6YBa1n7/z6lSFT4pUokBqWQrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8167},"main":"index.js","gitHead":"1a9b2ac779303888f0daf7fd5f2d22ce52a9e679","_npmUser":{"name":"sohail-chaos","email":"sk@chaostheory.hk"},"repository":{"url":"git+ssh://git@github.com/bitgaming/eslint-config.git","type":"git"},"_npmVersion":"10.2.3","description":"Set of eslint configs and rules recommended by Chaos Theory for React React Native and NodeJS projects. These have been chunked into React, Imports, Promises etc.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint":"^8.52.0","prettier":"^3.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.9.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.9.0","eslint-import-resolver-typescript":"^3.6.1","@react-native-community/eslint-config":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"eslint":">=8","prettier":">=3"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.5_1701412665838_0.4398787273692939","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@chaos-theory/eslint-config","version":"1.0.7","keywords":["eslint"],"author":{"url":"Chaos Theory","name":"Sohail Yar Khan"},"license":"MIT","_id":"@chaos-theory/eslint-config@1.0.7","maintainers":[{"name":"sohail-chaos","email":"sk@chaostheory.hk"}],"homepage":"https://github.com/bitgaming/eslint-config#readme","bugs":{"url":"https://github.com/bitgaming/eslint-config/issues"},"dist":{"shasum":"691b3c7213b64a2a7f8e338c8978a56df7bac875","tarball":"https://registry.npmjs.org/@chaos-theory/eslint-config/-/eslint-config-1.0.7.tgz","fileCount":9,"integrity":"sha512-o/BDjXeuwZ1GjHB2sPhu84SRJf4WCDRiVhoWpka3BJm5GM66bySqlUNrT869qx+R9ETykanSaeId+acKa7uYuQ==","signatures":[{"sig":"MEYCIQC3/63uREp/OaHVCr2V2NfW0I7VSH3bdHeQ8SteSP5bwAIhALyvjAWwTtbvBQnT3U3e0PKeoPjuhYCPDzPEB7IeNF1K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8167},"main":"index.js","gitHead":"c12b49c1c10e5d0b8331f09145e9e6cdeb1e63b4","_npmUser":{"name":"sohail-chaos","email":"sk@chaostheory.hk"},"repository":{"url":"git+ssh://git@github.com/bitgaming/eslint-config.git","type":"git"},"_npmVersion":"10.2.3","description":"Set of eslint configs and rules recommended by Chaos Theory for React React Native and NodeJS projects. These have been chunked into React, Imports, Promises etc.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint":"^8.52.0","prettier":"^3.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.9.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.9.0","eslint-import-resolver-typescript":"^3.6.1","@react-native-community/eslint-config":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"eslint":">=8","prettier":">=3"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.7_1701413277437_0.46977008185551994","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@chaos-theory/eslint-config","version":"1.0.8","keywords":["eslint"],"author":{"url":"Chaos Theory","name":"Sohail Yar Khan"},"license":"MIT","_id":"@chaos-theory/eslint-config@1.0.8","maintainers":[{"name":"sohail-chaos","email":"sk@chaostheory.hk"}],"homepage":"https://github.com/bitgaming/eslint-config#readme","bugs":{"url":"https://github.com/bitgaming/eslint-config/issues"},"dist":{"shasum":"d4bd406e3b7cad1c4cc3f6f45995128aa5268ba1","tarball":"https://registry.npmjs.org/@chaos-theory/eslint-config/-/eslint-config-1.0.8.tgz","fileCount":9,"integrity":"sha512-hhDqAFAF5it3hATp2ejXBIBtNcTq0y7hfndXWJBaeDwG3k6XJhEOy5Yu2G9PenPT+8FqA6bj7iHXCn1IUNqm3Q==","signatures":[{"sig":"MEQCIAh/yPlcY6/Mtaq6RZUwdyu9dhkDw42v3wGIcQjavl5NAiAWUe/2wgLfHBzlYaR4jF/Zvc9PKuHz0//StO1GPDkbqQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8167},"main":"index.js","gitHead":"8cef2b3e624237f135de7ddc7dd14802d1a334a0","_npmUser":{"name":"sohail-chaos","email":"sk@chaostheory.hk"},"repository":{"url":"git+ssh://git@github.com/bitgaming/eslint-config.git","type":"git"},"_npmVersion":"10.2.3","description":"Set of eslint configs and rules recommended by Chaos Theory for React React Native and NodeJS projects. These have been chunked into React, Imports, Promises etc.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eslint":"^8.52.0","prettier":"^3.1.0","eslint-plugin-react":"^7.33.2","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^9.0.0","@typescript-eslint/parser":"^6.9.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^6.9.0","eslint-import-resolver-typescript":"^3.6.1","@react-native-community/eslint-config":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{},"peerDependencies":{"eslint":">=8","prettier":">=3"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_1.0.8_1701672214672_0.08885082856829274","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-12-01T03:05:09.693Z","modified":"2025-08-01T06:26:06.544Z","0.0.1":"2023-12-01T03:05:09.920Z","1.0.0":"2023-12-01T04:11:56.067Z","1.0.5":"2023-12-01T06:37:46.086Z","1.0.7":"2023-12-01T06:47:57.624Z","1.0.8":"2023-12-04T06:43:34.988Z"},"bugs":{"url":"https://github.com/bitgaming/eslint-config/issues"},"author":{"url":"Chaos Theory","name":"Sohail Yar Khan"},"license":"MIT","homepage":"https://github.com/bitgaming/eslint-config#readme","keywords":["eslint"],"repository":{"url":"git+ssh://git@github.com/bitgaming/eslint-config.git","type":"git"},"description":"Set of eslint configs and rules recommended by Chaos Theory for React React Native and NodeJS projects. These have been chunked into React, Imports, Promises etc.","maintainers":[{"email":"sk@chaostheory.hk","name":"sohail-chaos"},{"email":"jc@chaostheory.hk","name":"jcct"},{"email":"fe-bot@chaostheory.hk","name":"chaos-fe-bot"}],"readme":"# Chaos Theory Eslint Config\n\n## Installation\n\n### 1. Install the package and related libraries\n\n```\nyarn add -D @chaos-theory/eslint-config eslint-plugin-prettier eslint-plugin-react eslint-plugin-promise @typescript-eslint/eslint-plugin\n```\n\n**NOTE: This library requires `eslint >= 8` to work**\n\n### 2. Add the library to local eslintrc.js file\n\n```js\nmodule.exports = {\n  extends: [\n    '@chaos-theory/eslint-config',\n    '@chaos-theory/eslint-config/react-native',\n    '@chaos-theory/eslint-config/import',\n    '@chaos-theory/eslint-config/promise',\n  ],\n}\n```\n\n- `@chaos-theory/eslint-config` base config with general rules\n- `@chaos-theory/eslint-config/react` for react projects.\n- `@chaos-theory/eslint-config/react-native` for react native projects (this include `@chaos-theory/eslint-config/react`)\n- `@chaos-theory/eslint-config/import` for import rules. You can override the import order rule by updating your rules locally in your `eslintrc.js`\n\n```js\n    // Example\n    'import/order': [\n      'error',\n      {\n        'newlines-between': 'always',\n        pathGroups: [\n          {\n            pattern:\n              '{@config,@gql-types,@assets/**,@ui/**,@features/**,@util/**,@styles/**,@services/**,@constants/**,@navigation/**,@hooks/**,@redux/**,@containers/**,@components/**,@types/**}',\n            group: 'external',\n            position: 'after',\n          },\n        ],\n        pathGroupsExcludedImportTypes: ['builtin'],\n        alphabetize: {\n          order: 'asc',\n          caseInsensitive: true,\n        },\n        groups: [['builtin', 'external'], 'internal', ['parent', 'sibling', 'index']],\n      },\n    ],\n```\n\n- `@chaos-theory/eslint-config/promise` for promise rules.\n\n## Contribution\n\n- Create an issue with requested rule / bug.\n- Create a PR and once approved, merge into master\n\n## Release\n\n- Trigger github action to [Create release PR](https://github.com/bitgaming/eslint-config/actions/workflows/create-release-pr.yml).\n- Merged the automated PR: This will trigger `npm publish` to publish the version to npm.\n","readmeFilename":"README.md"}