{"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,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","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,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}