{"id":19526,"library":"eslint-config-habitrpg","title":"eslint-config-habitrpg","description":"Shared ESLint configuration for HabitRPG (Habitica) projects. Version 6.2.3 extends Airbnb's JavaScript style guide and provides profiles for Node.js, Vue.js, and Mocha test files. Requires ESLint ^6.5.1. Differs from raw Airbnb config by adding specific rule overrides for Habitica codebase, such as disabling no-extraneous-dependencies for monorepo compatibility and explicitly defining no-cycle settings. Release cadence is sparse, with last update in 2020.","status":"maintenance","version":"6.2.3","language":"javascript","source_language":"en","source_url":"https://github.com/HabitRPG/eslint-config","tags":["javascript","habitica","habitrpg","eslint","eslint-config"],"install":[{"cmd":"npm install eslint-config-habitrpg","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-habitrpg","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-habitrpg","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required to use config","package":"eslint","optional":false}],"imports":[{"note":"In .eslintrc, use 'habitrpg' not the full package name.","wrong":"extends: 'eslint-config-habitrpg'","symbol":"habitrpg/index","correct":"extends: 'habitrpg'"},{"note":"For Node.js projects.","wrong":null,"symbol":"habitrpg/node","correct":"extends: 'habitrpg/node'"},{"note":"Requires eslint-plugin-vue as a peer dependency.","wrong":"extends: 'habitrpg/vue' without installing eslint-plugin-vue","symbol":"habitrpg/vue","correct":"extends: 'habitrpg/vue'"}],"quickstart":{"code":"npm install --save-dev eslint@^6.5.1 eslint-config-habitrpg\n# .eslintrc.json\n{\n  \"extends\": \"habitrpg\"\n}","lang":"javascript","description":"Install ESLint and the config package, then set the extends field in your ESLint configuration to 'habitrpg' or one of its sub-configs."},"warnings":[{"fix":"Update your .eslintrc 'extends' to use 'habitrpg/node' instead of 'habitrpg/server'.","message":"Version 6 changed config structure: removed browser, server, esnext configs; added node, vue, mocha.","severity":"breaking","affected_versions":">=6.0.0 <6.0.0"},{"fix":"Consider migrating to a more actively maintained ESLint config like eslint-config-airbnb or @shopify/eslint-plugin.","message":"Version 6.2.3 is the last release; package is in maintenance mode with no recent updates.","severity":"deprecated","affected_versions":">=6.2.3"},{"fix":"Use ESLint 6.x or pin eslint-config-habitrpg@5.0.0 if you need ESLint 7 compatibility.","message":"ESLint peer dependency is ^6.5.1; not compatible with ESLint 7+.","severity":"gotcha","affected_versions":">=6.0.0"},{"fix":"Run 'npm install --save-dev eslint-plugin-vue' and ensure it's listed in your dependencies.","message":"The vue config requires eslint-plugin-vue to be installed separately.","severity":"gotcha","affected_versions":">=6.0.0"}],"env_vars":null,"search_vec":"'2020':71 '6.2.3':13 '6.5.1':32 'ad':39 'airbnb':15,36 'cadenc':64 'codebas':45 'compat':55 'config':3,37,78 'configur':7 'cycl':61 'defin':58 'depend':52 'differ':33 'disabl':48 'eslint':2,6,31,75,77 'eslint-config':76 'eslint-config-habitrpg':1 'explicit':57 'extend':14 'extran':51 'file':29 'guid':19 'habitica':10,44,73 'habitrpg':4,9,74 'javascript':17,72 'last':68 'mocha':27 'monorepo':54 'no-cycl':59 'no-extraneous-depend':49 'node.js':24 'overrid':42 'profil':22 'project':11 'provid':21 'raw':35 'releas':63 'requir':30 'rule':41 'set':62 'share':5 'spars':66 'specif':40 'style':18 'test':28 'updat':69 'version':12 'vue.js':25","created_at":"2026-04-25T11:18:16.630053+00:00","updated_at":"2026-04-25T11:18:16.630053+00:00","problems":[{"fix":"Run 'npm install --save-dev eslint-config-habitrpg' and check your .eslintrc extends value.","cause":"The eslint-config-habitrpg package is not installed or extends string is incorrect.","error":"Oops! Something went wrong! :(\nESLint: 6.5.1.\nESLint couldn't find the config \"habitrpg\"."},{"fix":"Run 'npm install --save-dev eslint-plugin-mocha'.","cause":"The mocha config requires eslint-plugin-mocha but it is not installed.","error":"ESLint couldn't find the plugin \"eslint-plugin-mocha\"."}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/HabitRPG/eslint-config","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-config-habitrpg","openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}