{"_id":"@appenin/eslint-config","_rev":"9-e1d2c1816b71c5c90c21921bb7277b81","time":{"0.0.1":"2021-03-19T01:33:29.617Z","created":"2021-03-20T11:36:53.892Z","0.0.2":"2021-03-20T11:36:54.297Z","modified":"2023-06-14T18:41:12.731Z","0.0.3":"2021-10-21T16:51:38.660Z","0.0.4":"2022-01-27T13:29:22.614Z","0.0.5":"2022-02-10T16:21:14.387Z"},"name":"@appenin/eslint-config","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.2":{"name":"@appenin/eslint-config","version":"0.0.2","description":"Appenin's ESLint config, following our styleguide","main":"index.js","homepage":"https://gitlab.com/appenin/falco-tooling","bugs":{"url":"https://gitlab.com/appenin/falco-tooling/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/appenin/falco-tooling.git"},"publishConfig":{"@appenin:registry":"https://registry.npmjs.org/"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint","eslintconfig","eslint-config","config","appenin","javascript","typescript","styleguide"],"author":{"name":"Appenin","email":"hello@appenin.fr","url":"https://www.appenin.fr"},"license":"MIT","dependencies":{"@typescript-eslint/parser":"^4.16.1"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^4.18.0","eslint":"^7.22.0","eslint-config-prettier":"^8.1.0","eslint-plugin-better-styled-components":"^1.1.2","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.3.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-simple-import-sort":"^7.0.0","eslint-plugin-styled-components-a11y":"^0.0.34","prettier":"^2.2.1","typescript":"^4.2.3"},"peerDependencies":{"@typescript-eslint/eslint-plugin":"^4.18.0","eslint":"^7.22.0","eslint-config-prettier":"^8.1.0","eslint-plugin-better-styled-components":"^1.1.2","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.3.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-simple-import-sort":"^7.0.0","eslint-plugin-styled-components-a11y":"^0.0.34","prettier":"^2.2.1","typescript":"^4.2.3"},"_id":"@appenin/eslint-config@0.0.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-UqMd6XAOF1E60GDvsFB0w0itVLJZWIitKiUzQZudeawWQgMj6fdpyXjcqlZ1Xr2z1q7Y4QptqmXztDJNOx0A2w==","shasum":"9a4d4c085e426b4c083206fb94cdd1d9e396af75","tarball":"https://registry.npmjs.org/@appenin/eslint-config/-/eslint-config-0.0.2.tgz","fileCount":19,"unpackedSize":19670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVd5WCRA9TVsSAnZWagAA29EP/A8zYI6KBvPfTD/T9A8/\nhqBn2k2+oNUbSDliCV4wzoP92JrOPKPjtKxbcFy0KEoKb2Sn9vJ1Lshj0gnk\nOcMvHEbsUgZt1yL9+x0iF863xzrMbQ0fs7pQZFG42NOUrw8rmoy/GmJ4UYtX\naF6HG6t0gfRu9YWz8DzTYG4KoHfxsVwERtIsDn7g7UCbzKL/N928XT0TW/uo\nMA0VwCagSqTH26QKcyd1PpxYEKTo0LnbvxQ6N9DJSr01hPGL6w8tHH1hm6CO\nvSXZ5mbS44r7xS3VXjmIgizuKGTsyuq3XdlTODYjvSIed8QFjHwnV4jhTZHP\n6rT9+9MgmglrG7Jp8GAZE45eYhrB/+6MOsTz/ctoquJu98ciZTdiRk0dxtxx\nE67U8H4papwWRo0D27poKv+NqJuLITy+I/bgI4joOwizfrpLoZCWaKnZJ514\nc4+UgUX8x/8Z/d4EFPZuKcFEaC2Iuu9G11zFPSvAmXzrE6GUJzKsf7ZVuL7R\n2bbsqt8Sbp++WQ+xqlZ/Y/FX7EO0bJOfFW8DnVRSE17h7xSq+P605Wwzeuql\nub7rDyNPwO3JVyQRJSKyfsq+gntjpzW3IOpJ6yTMfb+YdNGE8hzZ6UR6BboV\nCc41FZWLCB0CNGQ9L+22flO/pzJU28/qc4we8//4S5QCGrdcR6KpD55H/ajI\nVdgm\r\n=lrRO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEWROqfIyWl1vOjONmCpmwbTTlRTEihyIMlCxZDBRRbvAiEAiR2nOuboKRoSsHL5wHBNG0w4emSpd2YpCiUXLHyCF9w="}]},"_npmUser":{"name":"bilalabbad","email":"abbad.bilal@gmail.com"},"directories":{},"maintainers":[{"name":"bilalabbad","email":"abbad.bilal@gmail.com"},{"name":"hgherabi","email":"hugo.gherabi@appenin.fr"},{"name":"appvinc","email":"npmjs@appenin.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.0.2_1616240214157_0.39692610464903"},"_hasShrinkwrap":false},"0.0.3":{"name":"@appenin/eslint-config","version":"0.0.3","description":"Appenin's ESLint config, following our styleguide","homepage":"https://github.com/appenin/eslint-config","bugs":{"url":"https://github.com/appenin/eslint-config/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/appenin/eslint-config.git"},"publishConfig":{"@appenin:registry":"https://registry.npmjs.org/"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint","eslintconfig","eslint-config","config","appenin","javascript","typescript","styleguide"],"author":{"name":"Appenin","email":"hello@appenin.fr","url":"https://www.appenin.fr"},"license":"MIT","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"7.32.0","eslint-config-next":"^11.1.2","eslint-config-prettier":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-plugin-chai-friendly":"^0.7.2","eslint-plugin-import":"^2.25.2","eslint-plugin-mocha":"^9.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-standard":"^5.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"_id":"@appenin/eslint-config@0.0.3","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1pwdKGwzyr1K8p6IDSouC4fD02v/sUHOd/id8J5/w5biS0nz+dGV3EGeQdXfMfjRIvpJiRFs3qI0gdStmazfuQ==","shasum":"8e788221d2c752b87b3c8c5b3875be7f7b3dcc3b","tarball":"https://registry.npmjs.org/@appenin/eslint-config/-/eslint-config-0.0.3.tgz","fileCount":13,"unpackedSize":7118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICs6kQRmi4KwxROfoMvMdgQ6WRYECqq4/qGE/919wfwmAiBM8+ZG3PJ7TZpGUDlJFUqZ7GueeLFcSpOwwPlmcgYiuQ=="}]},"_npmUser":{"name":"bilalabbad","email":"abbad.bilal@gmail.com"},"directories":{},"maintainers":[{"name":"appvinc","email":"npmjs@appenin.fr"},{"name":"hgherabi","email":"hugo.gherabi@appenin.fr"},{"name":"bilalabbad","email":"abbad.bilal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.0.3_1634835098246_0.9072627553219499"},"_hasShrinkwrap":false},"0.0.4":{"name":"@appenin/eslint-config","version":"0.0.4","description":"Appenin's ESLint config, following our styleguide","homepage":"https://github.com/appenin/eslint-config","bugs":{"url":"https://github.com/appenin/eslint-config/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/appenin/eslint-config.git"},"publishConfig":{"@appenin:registry":"https://registry.npmjs.org/"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint","eslintconfig","eslint-config","config","appenin","javascript","typescript","styleguide"],"author":{"name":"Appenin","email":"hello@appenin.fr","url":"https://www.appenin.fr"},"license":"MIT","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"7.32.0","eslint-config-next":"^11.1.2","eslint-config-prettier":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-plugin-chai-friendly":"^0.7.2","eslint-plugin-import":"^2.25.2","eslint-plugin-mocha":"^9.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-standard":"^5.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"_id":"@appenin/eslint-config@0.0.4","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-ClTsf7BUZHMJz2gfd+GosJsyJCd++SpjQzdbbqmvYUO+foRTOkWt/292XpyK/0gYsA46DcDObX7saJ19aeV4AQ==","shasum":"92793fd4068bfbed58702a65891ab4a0bf45bcd9","tarball":"https://registry.npmjs.org/@appenin/eslint-config/-/eslint-config-0.0.4.tgz","fileCount":8,"unpackedSize":5952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh8p4yCRA9TVsSAnZWagAA/P0P/3jYObe7kLJiPbMMoccA\nnINZ3CDaeY9GoUng9OjgYT4RRFFkW+0D2rsVRGlT9vHG6I3bR9ePKUGKn4z0\napM5cOLl861jSNqbP87k6jTUOMWblc7f8Gobt4KFvyZ/Q6dii+gcn+afJ6WG\n3YPJbh0Cif9jCUf73kLkhyTtDc5aup0woPZrnYEHV9W5i5mD+The/0LGu3EL\nQPAqtjxAF0eFT89fPp8uU3RJ90LDJSNrkvjsiKGaNLujmViwYXy8gDPkVWRZ\nWiNftbxsiOUp90GysGdTscFmYD1/LhDio3/67dMWb04bXUgMxkoIS+S+JI6H\n+cEjFhpxKTC1z5qRHC+vHH0Z4eF/zAOofVOQYQQrMyt9e9FfPTqktbs/Kdpg\n6GgF8RyJtFPnv+gtceTEfgMTvGSzdsEuJhMkubL20H9AdnWThJDif3WPDHd9\nfW2yTQ9QXYJjJTBEb8PU4uYZagXfqzQZ281q1K3woBrJ4wdAgi7B4vRxgNAQ\nI4P5ozRldFaQ5B3bM3aNawW8m1lcWmbp0woqxt3cssU8Y4PiYs4ddIRVlFTJ\nr5MGItGHInOwXb5YognZLW7C3F6gVkxmqVgJcKMemxV0MyATSjgIq7RIFB3f\n2qgK12vpp7EbyJYITcLpX6CdK2MkTQStzSHNIcsFPOFFijuh+T/yjulw9KMB\nzXpk\r\n=cptQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk3l9GWrK78mEXf9a2gHs+KSQqtzDbRXy2KzMclF5A8AIgKLA6E5ALfYzqx9IUkM88ld3nTQbxnh9biq4HHfTWqVM="}]},"_npmUser":{"name":"manonmion","email":"manon.dev.mion@gmail.com"},"directories":{},"maintainers":[{"name":"manonmion","email":"manon.dev.mion@gmail.com"},{"name":"appvinc","email":"npmjs@appenin.fr"},{"name":"hgherabi","email":"hugo.gherabi@appenin.fr"},{"name":"bilalabbad","email":"abbad.bilal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.0.4_1643290162479_0.9574284194335616"},"_hasShrinkwrap":false},"0.0.5":{"name":"@appenin/eslint-config","version":"0.0.5","description":"Appenin's ESLint config, following our styleguide","homepage":"https://github.com/appenin/eslint-config","bugs":{"url":"https://github.com/appenin/eslint-config/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/appenin/eslint-config.git"},"publishConfig":{"@appenin:registry":"https://registry.npmjs.org/"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["eslint","eslintconfig","eslint-config","config","appenin","javascript","typescript","styleguide"],"author":{"name":"Appenin","email":"hello@appenin.fr","url":"https://www.appenin.fr"},"license":"MIT","devDependencies":{"@typescript-eslint/eslint-plugin":"^5.1.0","@typescript-eslint/parser":"^5.1.0","eslint":"7.32.0","eslint-config-next":"^11.1.2","eslint-config-prettier":"^8.3.0","eslint-config-standard":"^16.0.3","eslint-plugin-chai-friendly":"^0.7.2","eslint-plugin-import":"^2.25.2","eslint-plugin-mocha":"^9.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-promise":"^5.1.1","eslint-plugin-standard":"^5.0.0","prettier":"^2.4.1","typescript":"^4.4.4"},"_id":"@appenin/eslint-config@0.0.5","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-DJAKIkLbJyQCb48Fs0kXqH5OU/8a0tgm+h3AAiokUUiFSsshb5qBu7eqpUqAPFlxaA6GeCg9r7cIajUU0oqKvQ==","shasum":"fbf868a4d8d9e552fdc3e16181b0f337f9e59c5e","tarball":"https://registry.npmjs.org/@appenin/eslint-config/-/eslint-config-0.0.5.tgz","fileCount":14,"unpackedSize":7793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBTt6CRA9TVsSAnZWagAA+hoP/i4pPq61VEc7KL9zYahF\n5pL9iZUAhcaTRWQyeCurnIciHBSNJip3pkNZQb1wIDLg2lLesqUhhA1o6YXN\nlsTgBRgyQBPIB9r0wtsYMp28zJEe7pq5ojUrK1E7rrL4SDnHNHMXrzJq1tED\ndMYJZsIwJ9KiGV0qN34k+y3Ol5Hq1+euT0hlBmymYlJ5Xnw+bmAYSglWsXZ2\nWeC98Qfl7XdRJABUVVNYH6cFr1CgvLZoRVXd95B2gG604a+Byvi0FKJaHuo3\n+VHUJ6tDs0DeWtLnwsKgf/2KvNWvz2P5QU+SuZSmKmLenPZK6N5rDq5tm3AQ\nad2K7hS169idkt/frV/ov+GS4tzj/VweIh2s3ov5+k9Q2SEjk8wm+SOhDjg5\nan6hiLsZ0/LJlKzzGXg7/tx806/YXKNSYCB1zbDlXmA8+RZg09qCedHMr55M\n7+gi4gNHdXJAIK9xcvIZ7NhBPvfbHK4oROgszkQo/liBqd00y81j+xEziUWN\n4bCp2S4egFqU82oXIGTmsGDzggzUDAPZyXIfBLX7NfpAbv7BQQVG/bqQpi+c\nU4m4cZCj/wsmOyyYMvaSfWCSOLc6iO3GrFwpSpkv8KuDjLP72RORGfJ9poNj\n6t5oAdLv38M0UdAlUxzDMTdJ/gbF/buy64jU0ggID3MS9pv3TdbGPqs7MqZY\n+Fmz\r\n=1b0+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBGX4M8VIPqy/skCcBjsI2Bu8SDf+bJ6wUZrx07yvA/DAiAKvu6dGlEyYWYj5IjCQ9TXAKVLI4MLNsM9sp3d3GeCgw=="}]},"_npmUser":{"name":"bilalabbad","email":"abbad.bilal@gmail.com"},"directories":{},"maintainers":[{"name":"manonmion","email":"manon.dev.mion@gmail.com"},{"name":"appvinc","email":"npmjs@appenin.fr"},{"name":"hgherabi","email":"hugo.gherabi@appenin.fr"},{"name":"bilalabbad","email":"abbad.bilal@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config_0.0.5_1644510074241_0.7607884604477568"},"_hasShrinkwrap":false}},"maintainers":[{"email":"manon.dev.mion@gmail.com","name":"manonmion"},{"email":"npmjs@appenin.fr","name":"appvinc"},{"email":"abbad.bilal@gmail.com","name":"bilalabbad"}],"description":"Appenin's ESLint config, following our styleguide","homepage":"https://github.com/appenin/eslint-config","keywords":["eslint","eslintconfig","eslint-config","config","appenin","javascript","typescript","styleguide"],"repository":{"type":"git","url":"git+ssh://git@github.com/appenin/eslint-config.git"},"author":{"name":"Appenin","email":"hello@appenin.fr","url":"https://www.appenin.fr"},"bugs":{"url":"https://github.com/appenin/eslint-config/issues"},"license":"MIT","readme":"# @appenin/eslint-config\n\nAppenin's ESLint config with TypeScript and React support\n\n## Setup\n\n### 1) Install\n\n```bash\nyarn add -D @appenin/eslint-config\n```\n\nFor the backend, add:\n```bash\nyarn add -D eslint@7.32.0 typescript @typescript-eslint/parser eslint-config-prettier prettier eslint-config-standard eslint-plugin-chai-friendly eslint-plugin-import eslint-plugin-simple-import-sort eslint-plugin-mocha eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-standard\n```\n\nFor the frontend, add:\n```bash\nyarn add -D eslint@7.32.0 typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin prettier eslint-config-prettier eslint-plugin-prettier eslint-config-next\n```\n\n### 2) Configure ESLint\n\nAdd `\"extends\": [\"@appenin/eslint-config\"]` to your ESLint config file.\n\nIf you need React support, add `\"extends\": [\"@appenin/eslint-config/next\"]` instead.\n\nThis config requires knowledge of your TypeScript config.\nIn your ESLint config, set [parserOptions.project](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#parseroptionsproject) to the path of your `tsconfig.json`.\n\nAn example `.eslintrc`:\n\n```json\n{\n  \"extends\": [\"@appenin/eslint-config/next\"]\n}\n```\n\n### 3) Run ESLint\n\nOpen a terminal to the root of your project, and run the following command:\n\n```\nnpx eslint . --ext .js,.jsx,.ts,.tsx\n```\n\nESLint will lint all .js, .jsx, .ts, and .tsx files within the current folder, and output results to your terminal.\n\nYou can also get results in realtime inside most IDEs via a plugin.\n\n### 4) Fix on save Eslint errors\n\n#### JetBrains IDE (WebStorm, Intellij)\n\n1. JetBrains IDE already provide Eslint plugins.\n2. You just need to do to `Preferences > Languages & Framework > Eslint`\nand check `run eslint --fix on save`\n\n#### VS Code\n1. Install [EsLint plugins for VS Code](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n2. Go to `Preferences > edit settings.json`\n3. Paste the following code:\n```json\n{\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  }\n}\n```\n","readmeFilename":"README.md"}