Registry / testing / eslint-config-weseek

eslint-config-weseek

JSON →
library2.1.1jsnpmunverified

Shareable ESLint configurations by WESEEK, Inc., based on eslint-config-airbnb. Current stable version is 2.1.1, with irregular releases. It provides multiple entry points for JavaScript (weseek), React (weseek/react), TypeScript (weseek/typescript), and Next.js (weseek/typescript-next). Key differentiators: opinionated rulesets combining Airbnb's base with additional plugins for React, TypeScript, and Vue; requires manual installation of peer dependencies; uses @babel/eslint-parser since v2.0.0.

npm install eslint-config-weseek
INSTALL
IMPORT
SIG · ESLINT-CONFIG-WESE
E
eslint-config-weseek
testingjavascriptv2.1.1
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.

weseek
module.exports = { extends: ['weseek'] }
extends: [require('eslint-config-weseek')]
Use string reference in .eslintrc, not require().
weseek/react
module.exports = { extends: ['weseek', 'weseek/react'] }
extends: ['weseek/react'] (missing weseek base)
weseek/react is an additional config, not standalone; must include 'weseek' first.
weseek/typescript
module.exports = { extends: ['weseek', 'weseek/typescript'] }
extends: ['weseek/typescript'] (missing weseek base)
Must include 'weseek' base before adding TypeScript rules.

Show installation and basic usage of eslint-config-weseek with three entry points (default, React, TypeScript).

npm install --save-dev eslint-config-weseek @babel/core @babel/eslint-parser eslint-plugin-import # For React:npm install --save-dev eslint-config-weseek @babel/core @babel/eslint-parser eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks # For TypeScript:npm install --save-dev eslint-config-weseek eslint-plugin-import eslint-import-resolver-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser # .eslintrc.js module.exports = { extends: [ 'weseek', // 'weseek/react', // uncomment for React // 'weseek/typescript', // uncomment for TypeScript // 'weseek/typescript-next', // uncomment for Next.js (includes React and TypeScript) ], rules: {}, };
Debug
Known issues
breakingv2.0.0 replaced babel-eslint with @babel/eslint-parser. Existing configs using babel-eslint will break.
fix
Update peer dep from babel-eslint to @babel/eslint-parser and @babel/core.
affects: <2.0.0
gotchaPeer dependencies are not automatically installed. Missing @babel/core or @babel/eslint-parser will cause ESLint errors.
fix
Manually install all required peer dependencies listed in the README for your chosen entry point.
affects: >=2.0.0
gotchaweseek/react and weseek/typescript are not standalone; they must be used alongside the weseek base config.
fix
Always include 'weseek' in the extends array before any sub-config.
affects: >=1.0.0
deprecatedThe package includes eslint-plugin-vue in peer deps but it's not documented in entry points. Usage may be unclear.
fix
If using Vue, manually extend 'plugin:vue/recommended' or similar; this package may not provide a Vue config out of the box.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module '@babel/core'
Missing required peer dependency @babel/core.
fix
Run: npm install --save-dev @babel/core
Error: Failed to load config 'weseek/react' to extend from.
weseek/react used without the base 'weseek' config in extends.
fix
Set extends: ['weseek', 'weseek/react'].
TypeError: eslint-plugin-vue is not a plugin
eslint-plugin-vue not installed but config tries to load it.
fix
Install eslint-plugin-vue or remove Vue-related config.
Upgrade
Version history
2.1.1latest on npm
Audit
Dependencies
@babel/coreoptionalRequired for Babel parsing in weseek and weseek/react configs
@babel/eslint-parseroptionalRequired for Babel parsing in weseek and weseek/react configs
@typescript-eslint/eslint-pluginoptionalRequired for weseek/typescript and weseek/typescript-next configs
@typescript-eslint/parseroptionalRequired for weseek/typescript and weseek/typescript-next configs
eslint-plugin-importrequiredAlways required for all configs
eslint-plugin-reactoptionalRequired for weseek/react and weseek/typescript-next configs
eslint-plugin-react-hooksoptionalRequired for weseek/react and weseek/typescript-next configs
eslint-import-resolver-typescriptoptionalRequired for weseek/typescript and weseek/typescript-next configs
eslint-plugin-vueoptionalIncluded in peer deps but not documented; required if using Vue
Agent activity
2 hits · last 30 days
node
2
Resources
eslint-config-weseek — npm install eslint-config-weseek · libregistry