{"_id":"@dreipol/eslint-plugin-export-keys","_rev":"30-66bd8ade3a4732e621fc32a1585db45e","name":"@dreipol/eslint-plugin-export-keys","dist-tags":{"latest":"1.1.1"},"versions":{"0.0.1":{"name":"@dreipol/eslint-plugin-export-keys","version":"0.0.1","keywords":["eslint","object","keys","default","export"],"author":{"url":"http://dreipol.ch","name":"Dreipol","email":"dev@dreipol.ch"},"license":"MIT","_id":"@dreipol/eslint-plugin-export-keys@0.0.1","maintainers":[{"name":"dreipol","email":"dev@dreipol.ch"}],"homepage":"https://github.com/dreipol/eslint-plugin-export-keys#readme","bugs":{"url":"https://github.com/dreipol/eslint-plugin-export-keys/issues"},"dist":{"shasum":"56ba38c4677b059372de113687db355523d919a9","tarball":"https://registry.npmjs.org/@dreipol/eslint-plugin-export-keys/-/eslint-plugin-export-keys-0.0.1.tgz","integrity":"sha512-LeYSUd6WDxT8p2vM8kTKeOCC9TwSZaR6bMVgqZ/Ue7cwbWYxJ9lkt6yFbmmAWPGM90gElZvZmeJq6obtS+mjfA==","signatures":[{"sig":"MEUCIQDhduRQMdNlZxwK/aPAb+oyf8QrjMoM1Mx+Kgq4zYXBdQIgJxEvgNnHpQOJ0bI5twFqAenWVMkD/9R4pQIJi4/76kE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"56ba38c4677b059372de113687db355523d919a9","gitHead":"4380c6c8832a913846946330c36e985baaca8a9d","scripts":{"lint":"eslint src/**/*.js tests/**/*.js","test":"mocha tests/**/*.js","build":"babel src --out-dir lib","prepublish":"npm run lint && npm run build && npm run test","test:watch":"npm run test -- --watch"},"_npmUser":{"name":"dreipol","email":"dev@dreipol.ch"},"repository":{"url":"git+https://github.com/dreipol/eslint-plugin-export-keys.git","type":"git"},"_npmVersion":"3.10.3","description":"Specify how the object kyes should be exported","directories":{},"_nodeVersion":"6.3.0","devDependencies":{"mocha":"^3.0.2","eslint":"^3.2.2","babel-cli":"^6.11.4","@dreipol/eslint-config":"0.0.1","babel-preset-es2015-node":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-export-keys-0.0.1.tgz_1470751661527_0.6456485299859196","host":"packages-16-east.internal.npmjs.com"}},"0.0.2":{"name":"@dreipol/eslint-plugin-export-keys","version":"0.0.2","keywords":["eslint","object","keys","default","export"],"author":{"url":"http://dreipol.ch","name":"Dreipol","email":"dev@dreipol.ch"},"license":"MIT","_id":"@dreipol/eslint-plugin-export-keys@0.0.2","maintainers":[{"name":"dreipol","email":"dev@dreipol.ch"},{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},{"name":"nilssolanki","email":"hibatsu@gmail.com"},{"name":"nirazul","email":"rouven.buehlmann@dreipol.ch"}],"homepage":"https://github.com/dreipol/eslint-plugin-export-keys#readme","bugs":{"url":"https://github.com/dreipol/eslint-plugin-export-keys/issues"},"dist":{"shasum":"a23d4fd4fcce77696168c2b15b7cb104e1885de2","tarball":"https://registry.npmjs.org/@dreipol/eslint-plugin-export-keys/-/eslint-plugin-export-keys-0.0.2.tgz","integrity":"sha512-8iGHburIAdfZugl4HH/Gvc6lcRX9pgz5uJo6UHEeG0Q67re/k3EGnnxIY8p92GbWz06XJh4Z+BaX0HfepX1PSA==","signatures":[{"sig":"MEUCIGPjd5H9f++DoyfCQ0Xnv+owVpcTTime8Lh/LIHv7tClAiEA/jQOOPPlJ8MMW6prJ8fjytPLYteQmh9SolBqAtjTdBY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib/","README.md","LICENSE"],"_shasum":"a23d4fd4fcce77696168c2b15b7cb104e1885de2","gitHead":"1bc09b07f5f93a21d70c3be160e1423b78214dee","scripts":{"lint":"eslint src/**/*.js tests/**/*.js","test":"mocha tests/**/*.js","build":"babel src --out-dir lib","prepublish":"npm run lint && npm run build && npm run test","test:watch":"npm run test -- --watch"},"_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"repository":{"url":"git+https://github.com/dreipol/eslint-plugin-export-keys.git","type":"git"},"_npmVersion":"3.10.3","description":"Specify how the object kyes should be exported","directories":{},"_nodeVersion":"6.3.0","devDependencies":{"mocha":"^3.0.2","eslint":"^3.2.2","babel-cli":"^6.11.4","@dreipol/eslint-config":"0.0.1","babel-preset-es2015-node":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-export-keys-0.0.2.tgz_1470753660310_0.0528893053997308","host":"packages-16-east.internal.npmjs.com"}},"1.0.0":{"name":"@dreipol/eslint-plugin-export-keys","version":"1.0.0","keywords":["eslint","object","keys","default","export"],"author":{"url":"http://dreipol.ch","name":"Dreipol","email":"dev@dreipol.ch"},"license":"MIT","_id":"@dreipol/eslint-plugin-export-keys@1.0.0","maintainers":[{"name":"dreipol","email":"dev@dreipol.ch"},{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},{"name":"nilssolanki","email":"hibatsu@gmail.com"},{"name":"nirazul","email":"rouven.buehlmann@dreipol.ch"}],"homepage":"https://github.com/dreipol/eslint-plugin-export-keys#readme","bugs":{"url":"https://github.com/dreipol/eslint-plugin-export-keys/issues"},"dist":{"shasum":"499d622ee869fac1e0afd7a490de8c55e35b064b","tarball":"https://registry.npmjs.org/@dreipol/eslint-plugin-export-keys/-/eslint-plugin-export-keys-1.0.0.tgz","integrity":"sha512-lf2+0NkynY1w1630okWRCDpylkXKIPWJ/WBWsypaqcYtJrHdr0jVAyV/6sz6f2Ud4MQRgqIwK5zk+k3ENRAUWw==","signatures":[{"sig":"MEQCIGW78BiId3rwDup74OgEZ7uobIls7B0OYJbpA3LOoRIkAiAkcXOaynVJtQBX1l1BLpNKAiaTTn7wT5moJpF4TSAv5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib/","README.md","LICENSE"],"_shasum":"499d622ee869fac1e0afd7a490de8c55e35b064b","gitHead":"08520aca275aa26dc35f244bc2fb67d62e13202d","scripts":{"lint":"eslint src/**/*.js tests/**/*.js","test":"mocha tests/**/*.js","build":"rm -rf lib && mkdir lib && babel src --out-dir lib","prepublish":"npm run lint && npm run build && npm run test","test:watch":"npm run test -- --watch"},"_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"repository":{"url":"git+https://github.com/dreipol/eslint-plugin-export-keys.git","type":"git"},"_npmVersion":"3.10.3","description":"Specify how the object kyes should be exported","directories":{},"_nodeVersion":"6.3.0","devDependencies":{"mocha":"^3.0.2","eslint":"^3.2.2","babel-cli":"^6.11.4","@dreipol/eslint-config":"0.0.1","babel-preset-es2015-node":"^6.1.0","babel-plugin-add-module-exports":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-export-keys-1.0.0.tgz_1470811168305_0.8544178167358041","host":"packages-16-east.internal.npmjs.com"}},"1.1.0":{"name":"@dreipol/eslint-plugin-export-keys","version":"1.1.0","keywords":["eslint","object","keys","default","export"],"author":{"url":"http://dreipol.ch","name":"Dreipol","email":"dev@dreipol.ch"},"license":"MIT","_id":"@dreipol/eslint-plugin-export-keys@1.1.0","maintainers":[{"name":"dreipol","email":"dev@dreipol.ch"},{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},{"name":"nilssolanki","email":"hibatsu@gmail.com"},{"name":"nirazul","email":"rouven.buehlmann@dreipol.ch"}],"homepage":"https://github.com/dreipol/eslint-plugin-export-keys#readme","bugs":{"url":"https://github.com/dreipol/eslint-plugin-export-keys/issues"},"dist":{"shasum":"205d5a0e3572d455764262cfe53f943f5ea3ad7b","tarball":"https://registry.npmjs.org/@dreipol/eslint-plugin-export-keys/-/eslint-plugin-export-keys-1.1.0.tgz","integrity":"sha512-nrHRwbJtHZMOYAUapnYqfGMtjdm7HenH+OIj5/Ac56/jYM42pgzvs7EnvZQ0h44SOXjUwDAE/VPNVLKrwb5qLw==","signatures":[{"sig":"MEQCIH7WBo/w7YqoMgGGDLXMIWGZw2Qcy5IpDR1SrsniNy4jAiBMjNbzjQbT+YGPEUGGPtldiQAALrotaRkbIsSgfmo2Ww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib/","README.md","LICENSE"],"_shasum":"205d5a0e3572d455764262cfe53f943f5ea3ad7b","gitHead":"f6bddd725c901b407e13c6fd8dc8a350c843fe1f","scripts":{"lint":"eslint src/**/*.js tests/**/*.js","test":"mocha tests/**/*.js","build":"rm -rf lib && mkdir lib && babel src --out-dir lib","prepublish":"npm run lint && npm run build && npm run test","test:watch":"npm run test -- --watch"},"_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"repository":{"url":"git+https://github.com/dreipol/eslint-plugin-export-keys.git","type":"git"},"_npmVersion":"3.10.3","description":"Specify how the object kyes should be exported","directories":{},"_nodeVersion":"6.3.0","devDependencies":{"mocha":"^3.0.2","eslint":"^3.2.2","babel-cli":"^6.11.4","@dreipol/eslint-config":"0.0.1","babel-preset-es2015-node":"^6.1.0","babel-plugin-add-module-exports":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-export-keys-1.1.0.tgz_1470834804417_0.7446376946754754","host":"packages-16-east.internal.npmjs.com"}},"1.1.1":{"name":"@dreipol/eslint-plugin-export-keys","version":"1.1.1","keywords":["eslint","object","keys","default","export"],"author":{"url":"http://dreipol.ch","name":"Dreipol","email":"dev@dreipol.ch"},"license":"MIT","_id":"@dreipol/eslint-plugin-export-keys@1.1.1","maintainers":[{"name":"dreipol","email":"dev@dreipol.ch"},{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},{"name":"nilssolanki","email":"hibatsu@gmail.com"},{"name":"nirazul","email":"rouven.buehlmann@dreipol.ch"}],"homepage":"https://github.com/dreipol/eslint-plugin-export-keys#readme","bugs":{"url":"https://github.com/dreipol/eslint-plugin-export-keys/issues"},"dist":{"shasum":"3f75bf258772973f4aab2d413774b2de14cf38a0","tarball":"https://registry.npmjs.org/@dreipol/eslint-plugin-export-keys/-/eslint-plugin-export-keys-1.1.1.tgz","integrity":"sha512-JtwX7qifoPuHXM4N5dMwpl1UJEDIk9Zkf7taeDeD818dMaivzBquLbJDljoZCG7IBBGr8xuv8uYcdSsvB1uTYQ==","signatures":[{"sig":"MEUCIQDqbirWwE4iRS0N6Ve1zfV4eTbt5Z4dT8RsAUDbKIzlpQIgVl45LOZ8uDJWYymyOnwm3O9WZGlDaSjdAqoYCzJzHRg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib/","README.md","LICENSE"],"_shasum":"3f75bf258772973f4aab2d413774b2de14cf38a0","gitHead":"e0d97458e8500a20ba7441067fecad4c17771f85","scripts":{"lint":"eslint src/**/*.js tests/**/*.js","test":"mocha tests/**/*.js","build":"rm -rf lib && mkdir lib && babel src --out-dir lib","prepublish":"npm run lint && npm run build && npm run test","test:watch":"npm run test -- --watch"},"_npmUser":{"name":"gianlucaguarini","email":"gianluca.guarini@gmail.com"},"repository":{"url":"git+https://github.com/dreipol/eslint-plugin-export-keys.git","type":"git"},"_npmVersion":"3.10.3","description":"Specify how the object kyes should be exported","directories":{},"_nodeVersion":"6.3.0","devDependencies":{"mocha":"^3.0.2","eslint":"^3.2.2","babel-cli":"^6.11.4","@dreipol/eslint-config":"0.0.1","babel-preset-es2015-node":"^6.1.0","babel-plugin-add-module-exports":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/eslint-plugin-export-keys-1.1.1.tgz_1470838031436_0.7188353755045682","host":"packages-16-east.internal.npmjs.com"}}},"time":{"created":"2016-08-09T14:07:44.063Z","modified":"2025-08-22T08:03:04.010Z","0.0.1":"2016-08-09T14:07:44.063Z","0.0.2":"2016-08-09T14:41:02.857Z","1.0.0":"2016-08-10T06:39:31.088Z","1.1.0":"2016-08-10T13:13:27.284Z","1.1.1":"2016-08-10T14:07:14.348Z"},"bugs":{"url":"https://github.com/dreipol/eslint-plugin-export-keys/issues"},"author":{"url":"http://dreipol.ch","name":"Dreipol","email":"dev@dreipol.ch"},"license":"MIT","homepage":"https://github.com/dreipol/eslint-plugin-export-keys#readme","keywords":["eslint","object","keys","default","export"],"repository":{"url":"git+https://github.com/dreipol/eslint-plugin-export-keys.git","type":"git"},"description":"Specify how the object kyes should be exported","maintainers":[{"email":"phil@dreipol.ch","name":"philipplaeubli"},{"email":"thibault.badoux@gmail.com","name":"thibi"},{"email":"hannah.kuehne@dreipol.ch","name":"hannahku"},{"email":"hadrian.chio@dreipol.ch","name":"hadrian.chio"}],"readme":"# eslint-plugin-export-keys\n\n[![Build Status][travis-image]][travis-url]\n\n[![NPM version][npm-version-image]][npm-url]\n[![NPM downloads][npm-downloads-image]][npm-url]\n[![MIT License][license-image]][license-url]\n\nEslint plugin to check the object keys exported by your javascript modules\n\n## Installation\n\n```shell\nnpm i @dreipol/eslint-plugin-export-keys -D\n```\n\n## Rules\n\n### Order\n\nEnabling the `export-keys/order` rule you will be able to specify the the order in which your object keys should be exported\n\nFor example:\n\n```json\n{\n  \"plugins\": [\n    \"@dreipol/export-keys\"\n  ],\n  \"rules\": {\n    \"export-keys/order\": [1, [\"template\", \"data\", \"ready\"]]\n  }\n}\n```\n\nThis rule will check that all your modules exporting some of all the keys defined inside the `keys` option will be exported in the order defined:\n\n```js\nexport default {\n  template: {},\n  data: {},\n  ready: {},\n}\n\n// or also valid\nexport default {\n  template: {},\n  ready: {},\n}\n\n// this will throw\nexport default {\n  ready: {},\n  template: {},\n}\n```\n\nThis rule works with `module.exports` and `exports` as well\n\n[travis-image]:https://img.shields.io/travis/dreipol/eslint-plugin-export-keys.svg?style=flat-square\n[travis-url]:https://travis-ci.org/dreipol/eslint-plugin-export-keys\n\n[license-image]:http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square\n[license-url]:LICENSE.txt\n\n[npm-version-image]:http://img.shields.io/npm/v/@dreipol/eslint-plugin-export-keys.svg?style=flat-square\n[npm-downloads-image]:http://img.shields.io/npm/dm/@dreipol/eslint-plugin-export-keys.svg?style=flat-square\n[npm-url]:https://npmjs.org/package/@dreipol/eslint-plugin-export-keys\n\n\n","readmeFilename":"README.md"}