{"_id":"eslint-tools-m6web","_rev":"33-83b35c2dcb9cad839ff185e0be7ab12a","name":"eslint-tools-m6web","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"eslint-tools-m6web","version":"1.0.0","author":{"name":"M6Web"},"license":"MIT","_id":"eslint-tools-m6web@1.0.0","maintainers":[{"name":"flepretre","email":"florent.lepretre@gmail.com"}],"dist":{"shasum":"146ffceecffb02e73ab1bf948c219e1a92729e6c","tarball":"https://registry.npmjs.org/eslint-tools-m6web/-/eslint-tools-m6web-1.0.0.tgz","integrity":"sha512-RZ0X/06aRIfKFwRs7eCTrG/s1QtGAYkbziB5EC1rxcgV94GU88Zguy9TcQ4K+NZARmN4H0VrsIi70Os+DA4edg==","signatures":[{"sig":"MEYCIQC4+mzCmj0Grm+ODeXHV10X6BtOvVxc+zdAW5Kd6zyzHAIhAJSqn6Hpucy3X/JMj4m1gz9ZDXYVc6+8QqgLvvIx5QOV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":".eslintrc","_from":".","_shasum":"146ffceecffb02e73ab1bf948c219e1a92729e6c","gitHead":"8570c64d13b3ea7455db6db5e957fc67776a1666","scripts":{},"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"deprecated":"Use @bedrockstreaming/eslint-config instead","_npmVersion":"4.2.0","description":"Tooling for eslint and prettier used in m6web projects","directories":{},"_nodeVersion":"7.8.0","dependencies":{"eslint":"4.6.1","prettier":"1.3.0","eslint-config-m6web":"1.0.0","prettier-eslint-cli":"4.1.1","eslint-config-prettier":"1.7.0","eslint-plugin-prettier":"2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/eslint-tools-m6web-1.0.0.tgz_1504704903399_0.3733764586504549","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"eslint-tools-m6web","version":"1.1.0","author":{"name":"M6Web"},"license":"MIT","_id":"eslint-tools-m6web@1.1.0","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"tzi","email":"thomas@zilliox.me"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/eslint-tools-m6web#readme","bugs":{"url":"https://github.com/M6Web/eslint-tools-m6web/issues"},"dist":{"shasum":"0e8c6a59a409514ee794387d120f3f28f454c62b","tarball":"https://registry.npmjs.org/eslint-tools-m6web/-/eslint-tools-m6web-1.1.0.tgz","integrity":"sha512-1FaUFm+nQrpfnGcIEIqjNlhQXx28zaFqdd0OF1E4Bmgdx3T4Mnn7BJgEJVaQGSFxO6HvxzuNhtG6NijLgo2+qg==","signatures":[{"sig":"MEYCIQCE7fc7o6y1lf67nTKN2My/KwsxsY6JsnuNN+QyxHUyVgIhAMqlt0UlABz2EXE1rjlQvmaxjIwB+h6fpIAvw5yE6sUc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":".eslintrc","_from":".","_shasum":"0e8c6a59a409514ee794387d120f3f28f454c62b","gitHead":"04c36d5ae7791c7d5d86db995acf155c63981003","scripts":{},"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"deprecated":"Use @bedrockstreaming/eslint-config instead","repository":{"url":"git+https://github.com/M6Web/eslint-tools-m6web.git","type":"git"},"_npmVersion":"4.2.0","description":"Tooling for eslint and prettier used in m6web projects","directories":{},"_nodeVersion":"7.8.0","dependencies":{"eslint":"4.6.1","prettier":"1.6.0","eslint-config-m6web":"1.0.0","prettier-eslint-cli":"4.3.0","eslint-config-prettier":"2.4.0","eslint-plugin-prettier":"2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-tools-m6web-1.1.0.tgz_1505115172359_0.9112114016897976","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"eslint-tools-m6web","version":"1.1.1","author":{"name":"M6Web"},"license":"MIT","_id":"eslint-tools-m6web@1.1.1","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"tzi","email":"thomas@zilliox.me"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/eslint-tools-m6web#readme","bugs":{"url":"https://github.com/M6Web/eslint-tools-m6web/issues"},"dist":{"shasum":"f3a57cfda51d69cdd5b1e90d7088c5cd0ae035f9","tarball":"https://registry.npmjs.org/eslint-tools-m6web/-/eslint-tools-m6web-1.1.1.tgz","integrity":"sha512-eJm2WUwCMtbbkN9SxSr7jrn04pP2jmjibkPfs02jpKM55z43TPn0p3iyqgAMS7FVO9At9HvpugBCH1hTHfk6vw==","signatures":[{"sig":"MEUCIDHapsOe1V7I3Dn+umgK6fdFhZoRwUPeeLqT2uJNUoYcAiEAiFVRiddSZSzO6AkR1vGv8XfKHjscFlUquIQh0fSZtho=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":".eslintrc","_from":".","_shasum":"f3a57cfda51d69cdd5b1e90d7088c5cd0ae035f9","gitHead":"3ce6d445259f4b5ee054ddf97d721c4896a3328d","scripts":{},"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"deprecated":"Use @bedrockstreaming/eslint-config instead","repository":{"url":"git+https://github.com/M6Web/eslint-tools-m6web.git","type":"git"},"_npmVersion":"4.2.0","description":"Tooling for eslint and prettier used in m6web projects","directories":{},"_nodeVersion":"7.8.0","dependencies":{"eslint":"4.6.1","prettier":"1.6.0","eslint-config-m6web":"1.0.1","prettier-eslint-cli":"4.3.0","eslint-config-prettier":"2.4.0","eslint-plugin-prettier":"2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-tools-m6web-1.1.1.tgz_1505149564247_0.031518417643383145","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"eslint-tools-m6web","version":"1.2.0","author":{"name":"M6Web"},"license":"MIT","_id":"eslint-tools-m6web@1.2.0","maintainers":[{"name":"d34thwings","email":"d34thwings@gmail.com"},{"name":"flepretre","email":"florent.lepretre@gmail.com"},{"name":"malikba","email":"malik.mba@gmail.com"},{"name":"oltodo","email":"oltodo@msn.com"},{"name":"tzi","email":"thomas@zilliox.me"},{"name":"devside","email":"thomas.triau@gmail.com"},{"name":"fdubost","email":"florent.dubost@gmail.com"}],"homepage":"https://github.com/M6Web/eslint-tools-m6web#readme","bugs":{"url":"https://github.com/M6Web/eslint-tools-m6web/issues"},"dist":{"shasum":"fb89443008c4e8b79af389373b7f53b39dd6ef22","tarball":"https://registry.npmjs.org/eslint-tools-m6web/-/eslint-tools-m6web-1.2.0.tgz","integrity":"sha512-EL42PnLDyD7UzeF9QmoTR0UDAxsHKwuMRuan/be4nx/lxCSphroyAO4W6TbGk0vmGICwNbUjr0PtG2Ju9ELIJg==","signatures":[{"sig":"MEUCIQD9NaUk4Jn4urWLVilo9Y5opc7KaERxUeoZBq6R+vZFvAIgdIh36UbxnrMPlJzjQT9h1Mzf9yuSv+AeEGoIcF8MJrE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":".eslintrc","_from":".","_shasum":"fb89443008c4e8b79af389373b7f53b39dd6ef22","gitHead":"39836e80e478ddaaa7a5993f014be3871a8d4065","scripts":{},"_npmUser":{"name":"flepretre","email":"florent.lepretre@gmail.com"},"deprecated":"Use @bedrockstreaming/eslint-config instead","repository":{"url":"git+https://github.com/M6Web/eslint-tools-m6web.git","type":"git"},"_npmVersion":"4.2.0","description":"Tooling for eslint and prettier used in m6web projects","directories":{},"_nodeVersion":"7.8.0","dependencies":{"eslint":"4.7.1","prettier":"1.7.0","eslint-config-m6web":"1.0.1","prettier-eslint-cli":"4.3.2","eslint-config-prettier":"2.5.0","eslint-plugin-prettier":"2.3.1"},"_npmOperationalInternal":{"tmp":"tmp/eslint-tools-m6web-1.2.0.tgz_1505973840969_0.6925138919614255","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-09-06T13:35:04.458Z","modified":"2025-03-12T10:23:57.794Z","1.0.0":"2017-09-06T13:35:04.458Z","1.1.0":"2017-09-11T07:32:53.358Z","1.1.1":"2017-09-11T17:06:05.317Z","1.2.0":"2017-09-21T06:04:02.007Z"},"bugs":{"url":"https://github.com/M6Web/eslint-tools-m6web/issues"},"author":{"name":"M6Web"},"license":"MIT","homepage":"https://github.com/M6Web/eslint-tools-m6web#readme","repository":{"url":"git+https://github.com/M6Web/eslint-tools-m6web.git","type":"git"},"description":"Tooling for eslint and prettier used in m6web projects","maintainers":[{"email":"florent.dubost@gmail.com","name":"fdubost"},{"email":"florent.lepretre@gmail.com","name":"flepretre"},{"email":"gory.alexandre02@gmail.com","name":"agory"},{"email":"valot.vince@gmail.com","name":"valotvince"},{"email":"poissonnet.jules@gmail.com","name":"jpoissonnet"},{"email":"yoann@frommelt.fr","name":"doubleyo"},{"email":"theodore.marion@bedrockstreaming.com","name":"tetsu9901"},{"email":"etiennelyon69003@gmail.com","name":"etiennedoyon"}],"readme":"# Eslint-tools-m6web\nThe purpose of this package is simple, simplify the configuration of eslint and prettier in our projects.\n\nIt provides: \n- [eslint-config-m6web](https://github.com/M6Web/eslint-config-m6web) which inherits from [eslint-config-airbnb](https://github.com/airbnb/javascript)\n- [eslint](https://eslint.org/) itself\n- [prettier](https://github.com/prettier/prettier) with all the plugins needed to work with eslint\n\nWith that come some little changes from the default config of [eslint-config-airbnb](https://github.com/airbnb/javascript) and [prettier](https://github.com/prettier/prettier) that you can find in [.eslintrc](.eslintrc) file and [here](https://github.com/M6Web/eslint-config-m6web/blob/master/index.js).\n\n## Setup\n\n```shell\nnpm install --dev eslint-tools-m6web\n```\n\nor \n\n```shell\nyarn add --dev eslint-tools-m6web\n```\n\nThen you need to inherit the config in the `.eslintrc` file of your project. For that create a `.eslintrc` and add the following lines:\n```json\n{\n  \"extends\": \"./node_modules/eslint-tools-m6web/.eslintrc\"\n}\n```\n\nAnd that's all.\n\nIf you want to customize some rules, follow the [eslint documentation](https://eslint.org/docs/user-guide/configuring). \n\n### Jest / Jasmine Support\n\nIf you want, you can add the jest support with the following lines: \n\n```json\n{\n  \"env\": {\n    \"browser\": true,\n    \"jasmine\": true\n  }\n}\n```\n\n## Usage\nLint your code:\n```shell\nyarn eslint src/\n```\n\nRewrite your code, the right way :smiling_imp::\n```shell\nyarn prettier-eslint -- --write 'src/**/*.js'\n```\n","readmeFilename":"README.md"}