{"id":19622,"library":"eslint-config-weseek","title":"eslint-config-weseek","description":"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.","status":"active","version":"2.1.1","language":"javascript","source_language":"en","source_url":"https://github.com/weseek/eslint-config-weseek","tags":["javascript","eslint","eslintconfig","config","airbnb","typescript","ecmascript"],"install":[{"cmd":"npm install eslint-config-weseek","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-weseek","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-weseek","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required for Babel parsing in weseek and weseek/react configs","package":"@babel/core","optional":true},{"reason":"Required for Babel parsing in weseek and weseek/react configs","package":"@babel/eslint-parser","optional":true},{"reason":"Required for weseek/typescript and weseek/typescript-next configs","package":"@typescript-eslint/eslint-plugin","optional":true},{"reason":"Required for weseek/typescript and weseek/typescript-next configs","package":"@typescript-eslint/parser","optional":true},{"reason":"Always required for all configs","package":"eslint-plugin-import","optional":false},{"reason":"Required for weseek/react and weseek/typescript-next configs","package":"eslint-plugin-react","optional":true},{"reason":"Required for weseek/react and weseek/typescript-next configs","package":"eslint-plugin-react-hooks","optional":true},{"reason":"Required for weseek/typescript and weseek/typescript-next configs","package":"eslint-import-resolver-typescript","optional":true},{"reason":"Included in peer deps but not documented; required if using Vue","package":"eslint-plugin-vue","optional":true}],"imports":[{"note":"Use string reference in .eslintrc, not require().","wrong":"extends: [require('eslint-config-weseek')]","symbol":"weseek","correct":"module.exports = { extends: ['weseek'] }"},{"note":"weseek/react is an additional config, not standalone; must include 'weseek' first.","wrong":"extends: ['weseek/react'] (missing weseek base)","symbol":"weseek/react","correct":"module.exports = { extends: ['weseek', 'weseek/react'] }"},{"note":"Must include 'weseek' base before adding TypeScript rules.","wrong":"extends: ['weseek/typescript'] (missing weseek base)","symbol":"weseek/typescript","correct":"module.exports = { extends: ['weseek', 'weseek/typescript'] }"}],"quickstart":{"code":"npm install --save-dev eslint-config-weseek @babel/core @babel/eslint-parser eslint-plugin-import\n# For React:npm install --save-dev eslint-config-weseek @babel/core @babel/eslint-parser eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks\n# For TypeScript:npm install --save-dev eslint-config-weseek eslint-plugin-import eslint-import-resolver-typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser\n# .eslintrc.js\nmodule.exports = {\n  extends: [\n    'weseek',\n    // 'weseek/react', // uncomment for React\n    // 'weseek/typescript', // uncomment for TypeScript\n    // 'weseek/typescript-next', // uncomment for Next.js (includes React and TypeScript)\n  ],\n  rules: {},\n};","lang":"javascript","description":"Show installation and basic usage of eslint-config-weseek with three entry points (default, React, TypeScript)."},"warnings":[{"fix":"Update peer dep from babel-eslint to @babel/eslint-parser and @babel/core.","message":"v2.0.0 replaced babel-eslint with @babel/eslint-parser. Existing configs using babel-eslint will break.","severity":"breaking","affected_versions":"<2.0.0"},{"fix":"Manually install all required peer dependencies listed in the README for your chosen entry point.","message":"Peer dependencies are not automatically installed. Missing @babel/core or @babel/eslint-parser will cause ESLint errors.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Always include 'weseek' in the extends array before any sub-config.","message":"weseek/react and weseek/typescript are not standalone; they must be used alongside the weseek base config.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"If using Vue, manually extend 'plugin:vue/recommended' or similar; this package may not provide a Vue config out of the box.","message":"The package includes eslint-plugin-vue in peer deps but it's not documented in entry points. Usage may be unclear.","severity":"deprecated","affected_versions":">=1.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 @babel/core","cause":"Missing required peer dependency @babel/core.","error":"Error: Cannot find module '@babel/core'"},{"fix":"Set extends: ['weseek', 'weseek/react'].","cause":"weseek/react used without the base 'weseek' config in extends.","error":"Error: Failed to load config 'weseek/react' to extend from."},{"fix":"Install eslint-plugin-vue or remove Vue-related config.","cause":"eslint-plugin-vue not installed but config tries to load it.","error":"TypeError: eslint-plugin-vue is not a plugin"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}