{"bugs":{"url":"https://github.com/merkle-open/eslint-config/issues"},"dist":{"shasum":"a2ccb175f2357d3ad57d46a1879a7d9d7c198b4b","tarball":"https://registry.npmjs.org/@namics/eslint-config/-/eslint-config-10.0.0-beta.1.tgz","fileCount":79,"integrity":"sha512-WhLv0c38M+OVerPeFx5IJM/yQfencaoTrqI3SOWslxPU8KLLKlNgqRb2VvnEi8tq+zUnwc6u0E5K2iidXToQjg==","signatures":[{"sig":"MEQCIASOnKKVU9cO/RUOB7OTLezXB47mYkK+SZ4nuBKqoHPmAiBr0pWyAxeqEpLJqYPhsYUZxidvlpU9ItnD8bAjib/lUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpXi/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTjg/9Eyljxx3l+gmWK2bOPA4RYytFafGycGZgnzqFjvtqmXuVVcwe\r\nqXppdkIzwOQ9DC3pheIsv/sfp54en7S2y8bVqmDGX5sSkJukYcV49AxJtBNz\r\nmfHudPvjaOgK6TABf6WpulegfX10UL7aWs4HUtQ7AS1YK+iNsEUbtAV1mvj3\r\nNtJBiIIFnvyNphz5a7vhlGfZ1DhgMTCFem1XuAflN1J4j4/zAhbf3rFBr9mQ\r\n2G1SoFXuFQhHiCl/JD4hjpEaVfavLSwqTvZVDQVKy/8h0mENslYRttTKTXkD\r\nx0rZ16QTafuTiDoMqFBqwM4foTXWrdeRNif7nGxvdnK0aI4xjsvxku4vn06H\r\nJ6sjlM5tDPy3pdEdnx+KGxsuTTSQ5xnDVZx1idMkyGasX/yaNUPYkEX8cwiT\r\nQEmxunU1zH9v/AR8kulWHMM+v1EfToNa3ZlxBHGKVLwVEoQfRoML5k/4KzJ2\r\nceYIcYUX9RIsJw/JAJKUj0hM6CnMZmEo8vuDqMWWnV01cZt7r5OaHQ8Bz3Pm\r\nrFFrcIn/WGfOImJ62fWI01kKLA1mc9sOlrgsBZX0g7Y2umRhLAh9NHDT3O/E\r\nucBMAplmJjdX3wgUQ15eQca9nmHpkCNDxlNnvWY/uDPzAblNUNdhMZmDV/fU\r\nhptbJyd1AcG7jtNcZvUv0N5RSo60gRwDK9M=\r\n=uko2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"configurations/es8-browser.js","name":"@namics/eslint-config","author":{"name":"Merkle Inc."},"readme":"# ESLint config\r\n\r\n[![Build Status](https://github.com/merkle-open/eslint-config/workflows/ci/badge.svg)](https://github.com/merkle-open/eslint-config/actions)\r\n[![npm](https://img.shields.io/npm/v/@namics/eslint-config.svg)](https://www.npmjs.com/package/@namics/eslint-config)\r\n[![Codestyle](https://img.shields.io/badge/codestyle-merkle-green.svg)](https://github.com/merkle-open/eslint-config)\r\n\r\n## Installation\r\n\r\n```bash\r\n$ npm install --save-dev eslint eslint-plugin-import @namics/eslint-config\r\n```\r\n\r\n## Usage Typescript (recommended)\r\n\r\n- `@namics/eslint-config/configurations/typescript-browser` - typescript + browser\r\n- `@namics/eslint-config/configurations/typescript-react` - typescript + react\r\n- `@namics/eslint-config/configurations/typescript-node` - typescript + node\r\n\r\n_package.json_\r\n\r\n```json\r\n{\r\n  \"scripts\": {\r\n    \"lint:ts\": \"eslint . --ext .jsx,.js,.ts,.tsx\"\r\n  }\r\n}\r\n```\r\n\r\n_Enabling ESLint on TS files in VSCode_\r\n\r\nYou need to update the eslint.validate setting to:\r\n\r\n```json\r\n\"eslint.validate\": [\r\n  \"javascript\",\r\n  \"javascriptreact\",\r\n  \"typescript\",\r\n  \"typescriptreact\"\r\n]\r\n```\r\n\r\n## Usage ES8 (ES2017)\r\n\r\n- `@namics/eslint-config/configurations/es8-browser` - ES8 + browser\r\n- `@namics/eslint-config/configurations/es8-react` - ES8 + react\r\n- `@namics/eslint-config/configurations/es8-node` - ES8 + node\r\n\r\n## Usage ES7 (ES2016)\r\n\r\n- `@namics/eslint-config/configurations/es7-browser` - ES7 + browser (deprecated)\r\n- `@namics/eslint-config/configurations/es7-react` - ES7 + react (deprecated)\r\n- `@namics/eslint-config/configurations/es7-node` - ES7 + node\r\n\r\n## Usage ES6 (ES2015) - deprecated\r\n\r\n- `@namics/eslint-config/configurations/es6-browser` - ES6 + browser (deprecated)\r\n- `@namics/eslint-config/configurations/es6-react` - ES6 + react (deprecated)\r\n- `@namics/eslint-config/configurations/es6-node` - ES6 + node (deprecated)\r\n\r\n## Usage with Prettier\r\n\r\n- [configuration with prettier](./documentation/with-prettier.md)\r\n\r\n### .eslintrc.js (add globals here if needed)\r\n\r\n```\r\nmodule.exports = {\r\n  extends: require.resolve('@namics/eslint-config/configurations/es8-browser.js'),\r\n};\r\n```\r\n\r\n### .eslintignore\r\n\r\n```\r\n/.idea/\r\n/node_modules/\r\n```\r\n\r\n### package.json\r\n\r\n```\r\n\"scripts\": {\r\n  \"lint\": \"npm run lint:js\",\r\n  \"lint:js\": \"eslint .\"\r\n},\r\n```\r\n\r\nthen run `npm run lint`\r\n\r\n### Example usage in project tree\r\n\r\n- .eslintrc.js (es8-react)\r\n- .eslintignore\r\n- src\r\n  - app.jsx\r\n- test\r\n  - .eslintrc.js (es8-node)\r\n  - index.js\r\n- scripts\r\n  - .eslintrc.js (es6-node)\r\n  - index.js\r\n\r\n## Documentation\r\n\r\n- [Best practices](./documentation/best-practices.md) (ES5/6/7/8)\r\n- [Style](./documentation/style.md) (ES5/6/7/8)\r\n- [Variables](./documentation/variables.md) (ES5/6/7/8)\r\n- [Errors](./documentation/errors.md) (ES5/6/7/8)\r\n- [Node](./documentation/node.md) (ES5/6/7/8)\r\n- [ES6](./documentation/es6.md) (ES6/7/8)\r\n- [ES8](./documentation/es8.md) (ES8)\r\n- [Imports](./documentation/imports.md) (ES6/7/8)\r\n- [React](./documentation/react.md) (ES6/7/8)\r\n- [React A11y](./documentation/react-a11y.md) (ES6/7/8)\r\n- [React hooks](./documentation/react-hooks.md) (ES6/7/8)\r\n- [Typescript](./documentation/typescript.md) (typescript)\r\n\r\n## Build release\r\n\r\n1. Create feature or bugfix branch based on master\r\n2. Make changes and create pull request, add reviewer, wait for approval\r\n3. Merge pull request into master\r\n4. Prepare release notes, adjust package.json to next version ([Semantic Versioning](semantic versioning))\r\n5. Run `npm publish` (locally) to create npm version\r\n6. Create and push git tag for version\r\n7. Add release notes on GitHub\r\n\r\n## Thanks to\r\n\r\n- [Merkle](https://www.merkleinc.ch/)\r\n- [ESLint](https://github.com/eslint/eslint) for ESLint and the documentation [eslint.org](http://eslint.org/)\r\n- [Walmart](https://github.com/walmartlabs) for sharing their config in [eslint-config-walmart](https://github.com/walmartlabs/eslint-config-walmart)\r\n- [AirBnB](https://github.com/airbnb) for sharing their eslint config in [JavaScript Style Guide](https://github.com/airbnb/javascript)\r\n\r\n## License\r\n\r\n[MIT License](./LICENSE)\r\n\r\n## Changelog\r\n\r\nPlease see the [Releases](https://github.com/merkle-open/eslint-config/releases)\r\n","engines":{"node":">=14"},"gitHead":"72650cdb8b72d97d1d9898731e1440b32f8a3aa3","license":"MIT","private":false,"scripts":{"docs":"node bin/write-documentation","lint":"npm run lint:js","test":"npm run lint","clean":"npx -y rimraf package-lock.json node_modules","start":"npm-run-all test prettier","lint:js":"eslint . --ext .jsx,.js,.ts,.tsx","prestart":"npx -y env-linter --versions --saveExact --dependenciesExactVersion","prettier":"npm-run-all prettier:*","prettier:es5":"prettier --config \".prettierrc.unstyled.js\" --write \"test/es5-disable-styles/**/*.js\"","prettier:es6":"prettier --config \".prettierrc.unstyled.js\" --write \"test/es6-disable-styles/**/*.js\"","prettier:es8":"prettier --config \".prettierrc.unstyled.js\" --write \"test/es8-disable-styles/**/*.js\"","prepublishOnly":"npx pkg-ok@2.3.1","prettier:es5node":"prettier --config \".prettierrc.unstyled.js\" --write \"test/es5-node-disable-styles/**/*.js\"","prettier:es6react":"prettier --config \".prettierrc.unstyled.js\" --write \"test/es6-react-disable-styles/**/*.js\"","prettier:typescript":"prettier --config \".prettierrc.unstyled.js\" --write \"test/typescript-disable-styles/**/*.ts\"","update-dependencies":"npm-check-updates -u -x node-fetch","prettier:typescriptreact":"prettier --config \".prettierrc.unstyled.js\" --write \"test/typescript-react-disable-styles/**/*.tsx\""},"_npmUser":{"name":"ernscht","email":"ernscht@gmail.com"},"homepage":"https://github.com/merkle-open/eslint-config#readme","keywords":["code checker","code linter","code standards","code style","eslint-config","eslint","eslintconfig","lint","es2015","react","jsx","typescript"],"deprecated":"Package no longer maintained. Use https://www.npmjs.com/package/@merkle-open/eslint-config instead.","repository":{"url":"git+https://github.com/merkle-open/eslint-config.git","type":"git"},"_npmVersion":"8.19.2","description":"Default configurations for eslint","directories":{},"maintainers":[{"name":"ernscht","email":"ernscht@gmail.com"},{"name":"danielkochde","email":"daniel@danielkoch.de"},{"name":"dienele","email":"nele.rabus@email.de"}],"_nodeVersion":"18.12.1","dependencies":{"@types/react":"18.0.26","babel-eslint":"10.1.0","eslint-plugin-react":"7.31.11","eslint-plugin-jsx-a11y":"6.6.1","@typescript-eslint/parser":"5.47.0","eslint-plugin-react-hooks":"4.6.0","@typescript-eslint/eslint-plugin":"5.47.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"acorn":"8.8.1","react":"18.2.0","eslint":"7.32.0","prettier":"2.8.1","node-fetch":"2.6.7","typescript":"4.9.4","npm-run-all":"4.1.5","@namics/ts-config":"2.0.1","npm-check-updates":"16.6.2","eslint-plugin-import":"2.26.0","@namics/prettier-config":"3.0.1"},"peerDependencies":{"eslint":">=6 <8","eslint-plugin-import":">=2"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_10.0.0-beta.1_1671788735187_0.2495998258895784","host":"s3://npm-registry-packages"},"_id":"@namics/eslint-config@10.0.0-beta.1","version":"10.0.0-beta.1"}