{"name":"@ehmicky/eslint-config","version":"15.10.25","keywords":["eslint","eslintconfig","prettier","prettierrc","standard","standard style","JavaScript Standard Style","editorconfig","lint","config","configuration","strict","modern","modularity","functional","fp"],"author":{"url":"https://github.com/ehmicky","name":"ehmicky","email":"ehmicky@gmail.com"},"license":"Apache-2.0","_id":"@ehmicky/eslint-config@15.10.25","homepage":"https://git.io/fhSs6","bugs":{"url":"https://github.com/ehmicky/eslint-config/issues"},"dist":{"shasum":"967c18c1f3c9b20861dc82cd8b265e1842dbff80","tarball":"http://registry-npm.ywwl.com/@ehmicky/eslint-config/download/@ehmicky/eslint-config-15.10.25.tgz","fileCount":7,"integrity":"sha512-1xKlS5A3mFhrg6ufn7tJXoDVRgeOlQYglPNNXIuubk2OpNFIO5NKxyBTnrmKAyj/GOrmKIr8pEtBLHnDbIfFcw==","signatures":[{"sig":"MEQCIDF5UJV/X4jNYx06ytWtzWBm8YJgnkWbE4p3P2WIDpFqAiAq/8gsfg1SMUTVe9AjcXeZidvmTbMYS1hpDlCl8E+frg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqxyfCRA9TVsSAnZWagAA0u4QAJxYCuAp+cUO9SuBjJCv\nWjUzbtrx9PH+mcz+d/USm7h6nmtZhWWv4Tm29DIxATCnEo2rk8lJ89SJTzKZ\nfdhGHWFLt9inFXUNIiJ/eZRtdIRdpmdse2azJ6aSbQhWu2gVSYDfzcc9Umga\nXVi4aIUonZ1+8x+z/ztQxOm1zDKn0hL8uBsllfK7s29xL0qHG1BbVKEYp1pi\n5sxZKnEOKF1TmjQsfyvhkQWjKVE4nNjYN5iCp/CrREUnCYrDi6uNVxWbMw7V\nt60/X0OPBa9PIEh8fUhAmUzXESG3px/5GLV4smIZbtiEVnKotck8VjPdaSB7\nFMs3aDdDsB07kT5ieEw1uQEzUGhcmdlgEsJ9TH3ivsGT90L7xJe9h2R3efvQ\nIOOudrn6nH0nCoVVEztqeQWeLKsJdZ7z7yP5wwi1VQE1+hcoPxpf8yMj6BTy\nmglYDo5GGMmGIvbgNgRFHDiUxJPf/B3FLU/vVbSZW0NpopZlg4HGXkfROydA\n7CVFkijojawhYIDVf+yNEwt4Ue2FJmVl/9HGuALsNRnoNWTuj96g4dhoHx0b\nx7RFx8PgxTqoybZy2rUovgCq4aIRDwpQqU3MzgZZ7LfM39Owb6R7JIrYDCRI\nWcs8E30/qIpjUHQB6f1zY4bK9VvEU+PPrGxZeLHoB0ZwPawUa+IZBXL2g4t9\nQi6z\r\n=hhUw\r\n-----END PGP SIGNATURE-----\r\n","size":15175,"noattachment":false,"key":"/@ehmicky/eslint-config/-/@ehmicky/eslint-config-15.10.25.tgz"},"main":".prettierrc.js","husky":{"hooks":{"pre-push":"gulp check --full"}},"engines":{"node":"^8.12.0 || ^10.13.0 || >=11.10.1"},"gitHead":"10b881681fe1f1ec59d0eff6d7af51af2afb8977","scripts":{"test":"gulp test"},"_npmUser":{"name":"ehmicky","email":"ehmicky@gmail.com"},"repository":{"url":"git+https://github.com/ehmicky/eslint-config.git","type":"git"},"_npmVersion":"6.12.0","description":"ESLint configuration for my own projects","directories":{"lib":"src","test":"test"},"_nodeVersion":"12.12.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"ava":"^2.4.0","gulp":"^4.0.2","execa":"^3.2.0","husky":"^3.0.9","eslint":"^6.5.1","core-js":"^3.3.2","prettier":"^1.18.2","eslint-plugin-fp":"^2.3.0","eslint-plugin-ava":"^9.0.0","@ehmicky/dev-tasks":"^0.30.48","eslint-plugin-html":"^6.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-unicorn":"^12.1.0","eslint-config-prettier":"^6.4.0","eslint-config-standard":"^14.1.0","eslint-plugin-markdown":"^1.0.0","eslint-plugin-standard":"^4.0.1","eslint-plugin-filenames":"^1.3.2","eslint-import-resolver-node":"^0.3.2","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-you-dont-need-lodash-underscore":"^6.7.2"},"peerDependencies":{"eslint":"^6.5.1","prettier":"^1.18.2","eslint-plugin-fp":"^2.3.0","eslint-plugin-ava":"^9.0.0","eslint-plugin-html":"^6.0.0","eslint-plugin-node":"^10.0.0","eslint-plugin-import":"^2.18.2","eslint-plugin-promise":"^4.2.1","eslint-plugin-unicorn":"^12.1.0","eslint-config-prettier":"^6.4.0","eslint-config-standard":"^14.1.0","eslint-plugin-markdown":"^1.0.0","eslint-plugin-standard":"^4.0.1","eslint-plugin-filenames":"^1.3.2","eslint-import-resolver-node":"^0.3.2","eslint-plugin-eslint-comments":"^3.1.2","eslint-plugin-you-dont-need-lodash-underscore":"^6.7.2"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_15.10.25_1571495070719_0.7040136508808474","host":"s3://npm-registry-packages"},"readme":"[![Node](https://img.shields.io/badge/-Node.js-808080?logo=node.js&colorA=404040&logoColor=66cc33)](https://www.npmjs.com/package/@ehmicky/eslint-config)\n[![Browsers](https://img.shields.io/badge/-Browsers-808080?logo=firefox&colorA=404040)](https://www.npmjs.com/package/@ehmicky/eslint-config)\n[![Mastodon](https://img.shields.io/badge/-Mastodon-808080.svg?logo=mastodon&colorA=404040&logoColor=9590F9)](https://fosstodon.org/@ehmicky)\n[![Medium](https://img.shields.io/badge/-Medium-808080.svg?logo=medium&colorA=404040)](https://medium.com/@ehmicky)\n\n[ESLint](https://eslint.org/) configuration for my own projects.\n\nThis is not meant to be shared and semantic versioning is not followed.\n\n# Hire me\n\nPlease\n[reach out](https://www.linkedin.com/feed/update/urn:li:activity:7117265228068716545/)\nif you're looking for a Node.js API or CLI engineer (11 years of experience).\nMost recently I have been [Netlify Build](https://github.com/netlify/build)'s\nand [Netlify Plugins](https://www.netlify.com/products/build/plugins/)'\ntechnical lead for 2.5 years. I am available for full-time remote positions.\n\n# Coding style\n\n## Functional programming\n\nState should be immutable.\n\nVariables and object properties should be read-only. They should be copied\ninstead of mutated. Assignment should only happen during declaration.\n\nThe following patterns should be avoided as they imply state:\n\n- loops (`for`, `while`). Use functional methods (like `Array.map()` and\n  `Array.filter()`) and recursion instead.\n- classes/OOP. To inherit/share behavior, use composition or generic programming\n  instead.\n- events. Use promises and streams instead.\n\nGlobal variables should not be used except the ones that are built-in (e.g.\n`Object`).\n\nThrowing exceptions is allowed as this can simplify code.\n\n## Modularity\n\nCode should be split into small files and functions:\n\n- files have at most 90 non-empty lines and 10 dependencies.\n- functions have at most 4 branches and 10 statements.\n- branches/blocks should not be nested.\n- lines are at most 80 characters long.\n\n## Modern JavaScript\n\n- ES modules. Exports should be named (no `export default`).\n- object and array destructuring.\n- object spreading: `{ ...object }` instead of `Object.assign({}, ...object)`\n- arguments spreading: `funcName(...args)` instead of\n  `funcName.call(this, ...args)`\n- parameters spreading: `(...args) => ...` instead of `(arguments) => ...`\n- template strings instead of concatenation.\n- `async`/`await` instead of explicit promises or callbacks.\n- vanilla JavaScript instead of Lodash/Underscore.\n- only JavaScript features supported by the Node.js version specified in your\n  `package.json` `engines` field.\n\n## Strictness\n\nThe configuration is very explicit and enforces strict linting. This should help\nyou find bugs and maintain a consistent coding style:\n\n- no dead code.\n- typecasting should be explicit.\n- file dependencies should be sorted.\n- variable names should remain short.\n- constants should be assigned to variables.\n- avoiding turning off ESLint rules with comments.\n- RegExps should use the `u` flag.\n- no variables shadowing.\n\n## Other styling rules\n\n- named parameters (i.e. passing an object as single parameter) instead of\n  positional parameters.\n- arrow functions should be preferred\n\n# Support\n\nFor any question, _don't hesitate_ to [submit an issue on GitHub](../../issues).\n\nEveryone is welcome regardless of personal background. We enforce a\n[Code of conduct](CODE_OF_CONDUCT.md) in order to promote a positive and\ninclusive environment.\n\n# Contributing\n\nThis project was made with ❤️. The simplest way to give back is by starring and\nsharing it online.\n\nIf the documentation is unclear or has a typo, please click on the page's `Edit`\nbutton (pencil icon) and suggest a correction.\n\nIf you would like to help us fix a bug, please check our\n[guidelines](CONTRIBUTING.md). Pull requests are welcome!\n\n<!-- Thanks go to our wonderful contributors: -->\n\n<!-- ALL-CONTRIBUTORS-LIST:START -->\n<!-- prettier-ignore -->\n<!--\n<table><tr><td align=\"center\"><a href=\"https://fosstodon.org/@ehmicky\"><img src=\"https://avatars2.githubusercontent.com/u/8136211?v=4\" width=\"100px;\" alt=\"ehmicky\"/><br /><sub><b>ehmicky</b></sub></a><br /><a href=\"https://github.com/ehmicky/eslint-config/commits?author=ehmicky\" title=\"Code\">💻</a> <a href=\"#design-ehmicky\" title=\"Design\">🎨</a> <a href=\"#ideas-ehmicky\" title=\"Ideas, Planning, & Feedback\">🤔</a> <a href=\"https://github.com/ehmicky/eslint-config/commits?author=ehmicky\" title=\"Documentation\">📖</a></td></tr></table>\n-->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n","publish_time":1571495070836,"maintainers":[{"name":"ehmicky","email":"ehmicky@gmail.com"}],"_cnpm_publish_time":1571495070836,"dist-tags":{"latest":"20.0.32"}}