Registry / testing / eslint-config-habitrpg

eslint-config-habitrpg

JSON →
library6.2.3jsnpmunverified

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.

npm install eslint-config-habitrpg
INSTALL
IMPORT
SIG · ESLINT-CONFIG-HABI
E
eslint-config-habitrpg
testingjavascriptv6.2.3
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

habitrpg/index
extends: 'habitrpg'
extends: 'eslint-config-habitrpg'
In .eslintrc, use 'habitrpg' not the full package name.
habitrpg/node
extends: 'habitrpg/node'
For Node.js projects.
habitrpg/vue
extends: 'habitrpg/vue'
extends: 'habitrpg/vue' without installing eslint-plugin-vue
Requires eslint-plugin-vue as a peer dependency.

Install ESLint and the config package, then set the extends field in your ESLint configuration to 'habitrpg' or one of its sub-configs.

npm install --save-dev eslint@^6.5.1 eslint-config-habitrpg # .eslintrc.json { "extends": "habitrpg" }
Debug
Known issues
breakingVersion 6 changed config structure: removed browser, server, esnext configs; added node, vue, mocha.
fix
Update your .eslintrc 'extends' to use 'habitrpg/node' instead of 'habitrpg/server'.
affects: >=6.0.0 <6.0.0
deprecatedVersion 6.2.3 is the last release; package is in maintenance mode with no recent updates.
fix
Consider migrating to a more actively maintained ESLint config like eslint-config-airbnb or @shopify/eslint-plugin.
affects: >=6.2.3
gotchaESLint peer dependency is ^6.5.1; not compatible with ESLint 7+.
fix
Use ESLint 6.x or pin eslint-config-habitrpg@5.0.0 if you need ESLint 7 compatibility.
affects: >=6.0.0
gotchaThe vue config requires eslint-plugin-vue to be installed separately.
fix
Run 'npm install --save-dev eslint-plugin-vue' and ensure it's listed in your dependencies.
affects: >=6.0.0
Errors
Common errors & fixes
Oops! Something went wrong! :( ESLint: 6.5.1. ESLint couldn't find the config "habitrpg".
The eslint-config-habitrpg package is not installed or extends string is incorrect.
fix
Run 'npm install --save-dev eslint-config-habitrpg' and check your .eslintrc extends value.
ESLint couldn't find the plugin "eslint-plugin-mocha".
The mocha config requires eslint-plugin-mocha but it is not installed.
fix
Run 'npm install --save-dev eslint-plugin-mocha'.
Upgrade
Version history
6.2.3latest on npm
Audit
Dependencies
eslintrequiredpeer dependency required to use config
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-habitrpg — npm install eslint-config-habitrpg · libregistry