{"_id":"@aligent/eslint-plugin-no-disabled-buttons","_rev":"8-5e4127f614f85bc516165733dfd928b1","name":"@aligent/eslint-plugin-no-disabled-buttons","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aligent/eslint-plugin-no-disabled-buttons","version":"1.0.0","keywords":["eslint","eslintplugin","eslint-plugin"],"author":{"name":"Aligent"},"license":"MIT","_id":"@aligent/eslint-plugin-no-disabled-buttons@1.0.0","maintainers":[{"name":"aligent-bot","email":"daniel.vanderploeg+bot@aligent.com.au"},{"name":"aligent-danielvanderploeg","email":"daniel.vanderploeg@aligent.com.au"},{"name":"luke-denton-aligent","email":"luke.denton@aligent.com.au"},{"name":"jarrod.swift","email":"jarrod.swift@aligent.com.au"}],"homepage":"https://bitbucket.org/aligent/eslint-plugin-no-disabled-buttons#readme","bugs":{"url":"https://bitbucket.org/aligent/eslint-plugin-no-disabled-buttons/issues"},"dist":{"shasum":"54232f9170e0190a90f799bda1280b8531e919ca","tarball":"https://registry.npmjs.org/@aligent/eslint-plugin-no-disabled-buttons/-/eslint-plugin-no-disabled-buttons-1.0.0.tgz","fileCount":8,"integrity":"sha512-MfL3BiCY2Jh2SLQFuBb+xfUf7Z3WERAWq/N5IHhK2NQ45SNo6gYN7UH8mgdUVu7SBJ+PHg5YIssQD/wlB2zsAw==","signatures":[{"sig":"MEYCIQCf+hB73JJagwUnCud5Aw8LOdqlHp0o7v6xeNDkLh3AKQIhAJTD5j707txi75VhuOvjuDU+zp6bPZ4zIy0yEj8eGi/F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJju02mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdYg/+OG0zTGwf8kCfY52GjELqHLzNds5uXvO/Mp4U7W9l3+IQs3UK\r\nXvXifxvW+ywIUa4fCUugT8eRaiWsAEqxQ0VPrNd9mdq3LCmQgU6mdZpD0hYh\r\nuNkRuVDn/7rIgkH26OJgKupiXslfgsOqDC1z1XdNOy+zvf6+pex1VcRdT1TS\r\nb8NX6xarsxFiUWU7OHgcydeL+8zEU4U1uuiCTFyHfzoxs9/ktfEHVr70cQqR\r\nXSK4a3Xeo+PeCGAQuvqQYvo/cTvbdZWRxc6230b5oaf94iAt9qfMXws5Mp7z\r\nadmi2Z97Huk4oqvVRqK9T5KZkS6ZzWdCG/L6403bUnQIlv2F4oehphocrwGL\r\nECYDVPApSm4qh078vVXaESeJcw4hbPIVKyVBorn7iDtWuYOqHxUtAPKnm4R3\r\n/A4izj/HRMvIOudX7sMPEtLgkpJ4I5aq4FLirAxiDIwqKiQtClokQjtJkf4D\r\nos87lJCR/QGKDdLEBi8+MGYj+SOt1gulW4LeSPqjE3jX9kTBMcJBIqjswaQg\r\nOXfSdpPD57rMX/YDiLC9Grb6ZhqtrhHS3kGMUA7oNo4z1KK8ONPnjYCWDod3\r\n1JZtjpkLRIvSfY4PU61Y69V1NnIIrmDXN06g5mhhS2Y+BxiLqFsVVy/pd1mA\r\nmLjQ3talkec/xaR/0oawO9tweVgVwxTXR8Q=\r\n=YDN6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/index.js","engines":{"node":"^14.17.0 || ^16.0.0 || >= 18.0.0"},"exports":"./lib/index.js","gitHead":"52d9cf4164822085fb6e5caa234ff624002da54d","scripts":{"test":"jest"},"_npmUser":{"name":"luke-denton-aligent","email":"luke.denton@aligent.com.au"},"repository":{"url":"git+https://bitbucket.org/aligent/eslint-plugin-no-disabled-buttons.git","type":"git"},"_npmVersion":"8.5.1","description":"Linting rule to check that buttons are always enabled","directories":{},"_nodeVersion":"14.17.6","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.19.0"},"peerDependencies":{"eslint":">=7"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-no-disabled-buttons_1.0.0_1673219494665_0.159119662110639","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-01-08T23:11:34.579Z","modified":"2026-05-22T06:22:16.576Z","1.0.0":"2023-01-08T23:11:34.839Z"},"bugs":{"url":"https://bitbucket.org/aligent/eslint-plugin-no-disabled-buttons/issues"},"author":{"name":"Aligent"},"license":"MIT","homepage":"https://bitbucket.org/aligent/eslint-plugin-no-disabled-buttons#readme","keywords":["eslint","eslintplugin","eslint-plugin"],"repository":{"url":"git+https://bitbucket.org/aligent/eslint-plugin-no-disabled-buttons.git","type":"git"},"description":"Linting rule to check that buttons are always enabled","maintainers":[{"email":"jarrod.swift@aligent.com.au","name":"jarrod.swift"},{"email":"devops+npm@aligent.com.au","name":"aligent-bot"},{"email":"tom.thorogood@aligent.com.au","name":"tom.thorogood"}],"readme":"# eslint-plugin-no-disabled-buttons\n\nESlint rule to enforce that buttons are never set to disabled, except when there is no better solution.\nDisabled buttons can lead to poor UX experience and negatively affects accessibility.\n\nArticles about why using disabled buttons is usually bad practice:\n- [CSS Tricks - Making disabled buttons more inclusive](https://css-tricks.com/making-disabled-buttons-more-inclusive/)\n- [Smashing Magazine - Frustrating Design Patterns: Disabled Buttons](https://www.smashingmagazine.com/2021/08/frustrating-design-patterns-disabled-buttons/)\n## Installation\n\nYou'll first need to install [ESLint](https://eslint.org/):\n\n```sh\nnpm i eslint --save-dev\n# or\nyarn add --dev eslint\n```\n\nNext, install `eslint-plugin-no-disabled-buttons`:\n\n```sh\nnpm install eslint-plugin-no-disabled-buttons --save-dev\n# or\nyarn add --dev @aligent/eslint-plugin-no-shared-talons\n```\n\n## Usage\n\nAdd `no-disabled-buttons` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"no-disabled-buttons\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"no-disabled-buttons/rule-name\": 2\n    }\n}\n```\n\n\n","readmeFilename":"README.md"}