Registry / testing / eslint-config-aha

eslint-config-aha

JSON →
library0.1.3jsnpmunverified

A shared ESLint configuration for Aha! projects, v0.1.3, with infrequent releases. Based on JavaScript Standard Style with modifications. Requires multiple peer dependencies including ESLint ^4.3.0, eslint-config-standard, and several plugins. Different from standard-config by adding specific overrides for React Rules of Hooks and lodash/underscore deprecation warnings.

npm install eslint-config-aha
INSTALL
IMPORT
SIG · ESLINT-CONFIG-AHA
E
eslint-config-aha
testingjavascriptv0.1.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.

config
{ "extends": "aha" }
{ "extends": "eslint-config-aha" }
ESLint automatically resolves 'aha' to 'eslint-config-aha'. Using full name works but is redundant.
require.resolve
const config = require.resolve('eslint-config-aha')
const config = require('eslint-config-aha')
For programmatic use, use require.resolve to get path.
merge configs
{ "extends": ["airbnb", "aha"] }
{ "extends": "aha" }
Can be combined with other configs by adding to the extends array.

Installs and configures eslint-config-aha in a project. Shows the .eslintrc extends format and the full peer dependency installation command.

// .eslintrc.json { "extends": "aha", "rules": { // Override rules here } } // Install dependencies npm install --save-dev eslint eslint-config-aha eslint-config-standard eslint-config-standard-jsx eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-standard eslint-plugin-you-dont-need-lodash-underscore
Debug
Known issues
deprecatedeslint-plugin-react-hooks v1 has been deprecated in favor of v4+
fix
Update eslint-plugin-react-hooks to v4 and adjust rules if necessary.
affects: >=0.1.0
breakingESLint version 4 is very old and unsupported; newer ESLint versions may break
fix
Upgrade ESLint to v7 or v8 and use eslint-config-aha with updated peer deps or fork.
affects: >=0.1.0
gotchaPackage requires manual installation of all peer dependencies; missing one will cause ESLint to fail
fix
Install all peer deps as listed in package.json or use the command from the README.
affects: >=0.1.0
Errors
Common errors & fixes
Cannot find module 'eslint-config-standard'
Missing peer dependency
fix
npm install eslint-config-standard --save-dev
ESLint couldn't find the config 'aha'
eslint-config-aha not installed
fix
npm install eslint-config-aha --save-dev
Failed to load plugin 'react-hooks' declared in 'eslint-config-aha'
Missing eslint-plugin-react-hooks
fix
npm install eslint-plugin-react-hooks@1 --save-dev (note: deprecated, use v4 if possible)
Upgrade
Version history
0.1.3latest on npm
Audit
Dependencies
eslintrequiredPeer dependency required to use ESLint
eslint-config-standardrequiredPeer dependency that provides base rules
eslint-config-standard-jsxrequiredPeer dependency for JSX rules
eslint-plugin-react-hooksrequiredPeer dependency for React Hooks rules
eslint-plugin-you-dont-need-lodash-underscorerequiredPeer dependency for Lodash/Underscore deprecation
Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
eslint-config-aha — npm install eslint-config-aha · libregistry