{"_id":"@chancedigital/eslint-config-wp","_rev":"2-fd5ccbe1d9298574f6a95c785581d7dd","name":"@chancedigital/eslint-config-wp","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.2":{"name":"@chancedigital/eslint-config-wp","version":"0.1.2","repository":{"type":"git","url":"git+https://github.com/chancedigital/wp-coding-standards.git"},"scripts":{"test":"node fixtures/test-lint-config"},"devDependencies":{"babel-eslint":"^7.2.3","chalk":"^2.3.2","eslint":"^4.19.1","eslint-config-react-app":"^2.1.0","eslint-plugin-flowtype":"^2.46.3","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0"},"peerDependencies":{"babel-eslint":"^7.2.3","eslint":"^4.19.1","eslint-config-react-app":"^2.1.0","eslint-plugin-flowtype":"^2.46.3","eslint-plugin-import":"^2.11.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0"},"files":[".eslintrc","index.js"],"description":"Chance Digital WordPress coding standards for JavaScript. This is a fork of the similar repository from [Human Made](https://github.com/chancedigital/wp-coding-standards).","bugs":{"url":"https://github.com/chancedigital/wp-coding-standards/issues"},"homepage":"https://github.com/chancedigital/wp-coding-standards#readme","_id":"@chancedigital/eslint-config-wp@0.1.2","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"chancestrickland","email":"chance.strickland@gmail.com"},"dist":{"integrity":"sha512-rG3MQrIzi0FUR7+x5rkqym7bTn5S0F/+qyl2J5A26Ip+Jin1KrL7ziWg+hUWwua2VPIsM80iwrGnAOme28DWJw==","shasum":"8f5fb82a11133035060a048b2b5e7859c0c7e753","tarball":"https://registry.npmjs.org/@chancedigital/eslint-config-wp/-/eslint-config-wp-0.1.2.tgz","fileCount":4,"unpackedSize":5890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJt9CRA9TVsSAnZWagAAH8YP/A0uQdlHzJBGJu5y7yEB\nfN7fhBDHq9RnLKvgJmgqDARp5tHpl9bfOCtNV+hDoPnJb3UB9UBQSeTNkycD\nRN0a8NmptWSyEANb7L/jrqEKmqe9SHSm4bwUBoQ2jZHsMworZUhMyAY2befL\ngcSHTUBZUDm6ZAu7lHMd8tR3ROJCQ2amHR2N8IqBUfLr7JGBHSJA2iNQSgdq\nRHP+PuqHx1F82SJZMvJlyb1J/p+jGbq7Fky1CCaNBWRsWkzaiskzoIRBVaLZ\nvWo40qRIlo12qzFMZnpXQyGux2oecnvslw06j8hPkO/fn3BhYsDqLBuQjGPn\ny8LSaf+xcWyhnw8qQg7JHqG8PWB8GRC1M04NcTiLYQoWorqoNwtksUt555HH\n2l1vbxjJXDyQC1YHCJOZfH/yhNvjYMcbSQwfDYZEjNndxetmt3IcU3FNLldY\ncevLSOOIY7k6+pdH3m8CodbVvO7HECVTn6zOK16NudsVNZoFfbtgox2Gnh4r\nbLIev3yQ7nHDpjJ/bZ3PbSDfnQpNYpIXCLuGTbNZRJekp+cfopyKN7c2OwIe\nYygFmKRjgfaHF2LVwEGliuPExtb3hurKOk+Rk1mZzbmUwIVycs3K8OwsK3WC\naDCymmExu3uKEGPZ6xKSyaaaj7swuRx0icNEN8ExnFp8Je7oWGs6KrAwyZAS\nsCQW\r\n=pMQ0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEH9pGRch2xjz4kRgjIbX6QYodDC7G4ZXXUgtwwmDeScAiAHrXCAwhhu5FDVIiFsHIw6Rboq2W1VVk88Bccx+n4ZXQ=="}]},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-wp_0.1.2_1533844348385_0.7857101534845836"},"_hasShrinkwrap":false,"deprecated":"this package has been deprecated; please use @chancedigital/config-eslint instead"}},"time":{"created":"2018-08-09T19:52:28.169Z","0.1.2":"2018-08-09T19:52:29.030Z","modified":"2022-04-04T22:30:05.418Z"},"maintainers":[{"name":"chancestrickland","email":"chance.strickland@gmail.com"}],"description":"Chance Digital WordPress coding standards for JavaScript. This is a fork of the similar repository from [Human Made](https://github.com/chancedigital/wp-coding-standards).","homepage":"https://github.com/chancedigital/wp-coding-standards#readme","repository":{"type":"git","url":"git+https://github.com/chancedigital/wp-coding-standards.git"},"bugs":{"url":"https://github.com/chancedigital/wp-coding-standards/issues"},"readme":"# @chancedigital/eslint-config-wp\n\nChance Digital WordPress coding standards for JavaScript. This is a fork of the similar repository from [Human Made](https://github.com/chancedigital/wp-coding-standards).\n\nWe highly recommend using this [via the `chancedigital/wp-coding-standards` Composer package.](https://github.com/chancedigital/wp-coding-standards).\n\n## Installation\n\nThis package is an ESLint shareable configuration, and requires `babel-eslint`, `eslint`, `eslint-config-react-app`, `eslint-plugin-flowtype`, `eslint-plugin-import`, `eslint-plugin-jsx-a11y`, `eslint-plugin-react`.\n\nTo install this config and the peerDependencies:\n\n```\nnpm info \"@chancedigital/eslint-config-wp@latest\" peerDependencies --json | command sed 's/[\\{\\},]//g ; s/: /@/g' | xargs npm install --save-dev \"@chancedigital/eslint-config-wp@latest\"\n```\n\n(Thanks to [Airbnb's package](https://www.npmjs.com/package/eslint-config-airbnb) for the command.)\n\nYou can then use it directly on the command line:\n\n```\neslint -c chancedigital MyFile.js\n```\n\nAlternatively, you can create your own configuration and extend these rules:\n```yaml\nextends:\n- chancedigital\n```\n\nWhile It is always encouraged to write modern Javascript that is properly processed and bundled to meet your project's browser/device support requirements. However in some rare cases you may be required to write in ES5, and you can set your configuration in `index.js` accordingly by setting the `es6` variable to `false`.\n\nPlease note that the standards' tests and CLI tools are not set up to support this, but this will help suppress warnings in your editor.\n\n## Global Installation\n\n**We do not recommend installing these standards globally.** If you must, however, you need to ensure the peer dependencies are also installed globally. Run the same command as above, but with `-g` added:\n\n```\nnpm info \"@chancedigital/eslint-config-wp@latest\" peerDependencies --json | command sed 's/[\\{\\},]//g ; s/: /@/g' | xargs npm install --save-dev \"@chancedigital/eslint-config-wp@latest\"\n```\n\nThis allows you to use `eslint -c chancedigital MyFile.js` anywhere on your filesystem.\n","readmeFilename":"readme.md"}