{"id":42327,"library":"ws-eslint-config","title":"Woody ESLint Config","description":"A shareable ESLint configuration package for personal/professional use, version 1.13.3. It provides a base ESLint config with rules for JavaScript and TypeScript, and includes peer dependencies for inquirer and js-yaml for interactive setup and YAML config. Release cadence is irregular; primarily maintained by the author. Compared to other shareable configs (e.g., eslint-config-airbnb), this one is simpler and more opinionated, tailored to individual preferences.","status":"active","version":"1.13.3","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install ws-eslint-config","lang":"bash","label":"npm"},{"cmd":"yarn add ws-eslint-config","lang":"bash","label":"yarn"},{"cmd":"pnpm add ws-eslint-config","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency for interactive command-line prompts during setup","package":"inquirer","optional":false},{"reason":"Peer dependency for parsing YAML configuration files","package":"js-yaml","optional":false}],"imports":[{"note":"Package is ESM-only; CommonJS require will fail. Use the default export for base config.","wrong":"const config = require('ws-eslint-config')","symbol":"default","correct":"import config from 'ws-eslint-config'"},{"note":"Named export for TypeScript-specific config; available since v1.0.","wrong":"import typescript from 'ws-eslint-config/typescript'","symbol":"typescript","correct":"import { typescript } from 'ws-eslint-config'"},{"note":"Named export for React-specific config; common mistake to use subpath import.","wrong":"import react from 'ws-eslint-config/react'","symbol":"react","correct":"import { react } from 'ws-eslint-config'"}],"quickstart":{"code":"// .eslintrc.json\n{\n  \"extends\": [\n    \"ws-eslint-config\",\n    \"ws-eslint-config/typescript\",\n    \"ws-eslint-config/react\"\n  ]\n}","lang":"javascript","description":"Quick start to extend the base config with optional TypeScript and React presets in .eslintrc.json."},"warnings":[{"fix":"Use import syntax or dynamic import(). If you need CJS, stay on v0.x (not available).","message":"ESM-only since v1.0.0; CommonJS require() will fail with ERR_REQUIRE_ESM.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Update inquirer to ^8.2.5 as specified in peer deps, or migrate to alternative prompts.","message":"Inquirer peer dependency may be deprecated if moving to newer versions; check compatibility.","severity":"deprecated","affected_versions":"<2.0.0"},{"fix":"Run: npm install inquirer@^8.2.5 js-yaml@^4.1.0 --save-dev","message":"The peer dependencies (inquirer, js-yaml) must be installed manually; npm 7+ auto-installs but can cause version conflicts.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'1.13.3':13 'airbnb':60 'author':50 'base':17 'cadenc':43 'compar':51 'config':3,19,41,55,59 'configur':7 'depend':29 'e.g':56 'eslint':2,6,18,58 'eslint-config-airbnb':57 'includ':27 'individu':70 'inquir':31 'interact':37 'irregular':45 'javascript':23,72 'js':34 'js-yaml':33 'maintain':47 'one':62 'opinion':67 'packag':8 'peer':28 'personal/professional':10 'prefer':71 'primarili':46 'provid':15 'releas':42 'rule':21 'setup':38 'shareabl':5,54 'simpler':64 'tailor':68 'typescript':25 'use':11 'version':12 'woodi':1 'yaml':35,40","created_at":"2026-06-04T18:56:43.212340+00:00","updated_at":"2026-06-04T18:56:43.212340+00:00","problems":[{"fix":"Run: npm install ws-eslint-config --save-dev","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'ws-eslint-config'"},{"fix":"Switch to import statement or use dynamic import(): const config = await import('ws-eslint-config')","cause":"Using CommonJS require() with ESM-only package.","error":"Error [ERR_REQUIRE_ESM]: require() of ES Module not supported"},{"fix":"Use: \"extends\": [\"ws-eslint-config\", \"ws-eslint-config\"] and for TypeScript, install and use named export: import { typescript } from 'ws-eslint-config'","cause":"Using subpath import instead of named export in extends array.","error":"Parse error: unknown property 'ws-eslint-config/typescript'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"ws-eslint-config","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-04","next_check":"2026-09-02","install_tag":null}}