{"id":25571,"library":"fashion-show","title":"fashion-show","description":"fashion-show v3.3.3 is a Node.js library for building versioned, consistent styleguides that centralize lint configurations (.jshintrc, .jscsrc, .eslintrc) across projects. It wraps CLI tools (JSHint, JSCS, ESLint) providing a unified API and binary. No recent updates (last publish 2016). Differentiator: enforces a single source of truth for lint rules, but relies on deprecated/unmaintained linters (JSHint, JSCS).","status":"deprecated","version":"3.3.3","language":"javascript","source_language":"en","source_url":"https://github.com/indexzero/fashion-show","tags":["javascript","jshint","jscs","lint","style","code-style","style-guide"],"install":[{"cmd":"npm install fashion-show","lang":"bash","label":"npm"},{"cmd":"yarn add fashion-show","lang":"bash","label":"yarn"},{"cmd":"pnpm add fashion-show","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required for JSCS linting support","package":"jscs","optional":true},{"reason":"Required for ESLint linting support","package":"eslint","optional":true},{"reason":"Required for JSHint linting support","package":"jshint","optional":true}],"imports":[{"note":"CJS only; no ESM export.","wrong":"import fashionShow from 'fashion-show';","symbol":"default","correct":"const fashionShow = require('fashion-show');"},{"note":"Default export, not named.","wrong":"import { fashionShow } from 'fashion-show';","symbol":"fashionShow","correct":"const fashionShow = require('fashion-show');"},{"note":"No global binary; must be installed locally.","wrong":"Using `fashion-show` CLI directly without installation.","symbol":"fashionShow (binary)","correct":"Run `./node_modules/.bin/fashion-show-build` or define a bin script in package.json."}],"quickstart":{"code":"const path = require('path');\nconst fashionShow = require('fashion-show');\n\nfashionShow({\n  commands: ['eslint'],\n  rc: path.join(__dirname, 'dist'),\n  targets: ['lib/', 'test/']\n}, function (err, code) {\n  if (err) { process.exit(1); }\n  process.exit(code);\n});","lang":"javascript","description":"Runs ESLint using a shared config from a 'dist' directory, targeting 'lib' and 'test' folders."},"warnings":[{"fix":"Remove JSHint/JSCS from commands and use only ESLint.","message":"JSHint and JSCS are deprecated/unmaintained. Use ESLint instead.","severity":"deprecated","affected_versions":">=0"},{"fix":"Use 'reporter' for JSHint, 'format' for ESLint, or omit both.","message":"The 'format' option is only for ESLint; JSHint uses 'reporter'. Misconfiguration may break.","severity":"breaking","affected_versions":">=0"},{"fix":"Ensure 'rc' points to the directory containing dotfiles (e.g., './dist').","message":"The 'rc' option expects a directory, not a file. Relative paths are relative to the calling process.","severity":"gotcha","affected_versions":">=0"},{"fix":"Set 'reporter' or 'format' option to get formatted output, or pipe the child process stdout.","message":"The library does not report lint errors itself; it only returns exit code. You must run external reporters.","severity":"gotcha","affected_versions":">=0"}],"env_vars":null,"search_vec":"'2016':44 'across':24 'api':36 'binari':38 'build':13 'central':18 'cli':28 'code':68 'code-styl':67 'configur':20 'consist':15 'deprecated/unmaintained':58 'differenti':45 'enforc':46 'eslint':32 'eslintrc':23 'fashion':2,5 'fashion-show':1,4 'guid':72 'javascript':62 'jscs':31,61,64 'jscsrc':22 'jshint':30,60,63 'jshintrc':21 'last':42 'librari':11 'lint':19,53,65 'linter':59 'node.js':10 'project':25 'provid':33 'publish':43 'recent':40 'reli':56 'rule':54 'show':3,6 'singl':48 'sourc':49 'style':66,69,71 'style-guid':70 'styleguid':16 'tool':29 'truth':51 'unifi':35 'updat':41 'v3.3.3':7 'version':14 'wrap':27","created_at":"2026-05-01T13:45:27.417190+00:00","updated_at":"2026-05-01T13:45:27.417190+00:00","problems":[{"fix":"Create the dotfiles directory with .eslintrc, .jscsrc, or .jshintrc files.","cause":"The 'rc' option points to a directory without the expected dotfiles.","error":"fashion-show: no such file or directory, open './dotfiles/.eslintrc'"},{"fix":"Install the required linter: npm install jscs --save-dev","cause":"JSCS is not installed even though it's listed in commands.","error":"Error: Cannot find module 'jscs'"},{"fix":"Remove 'fix' when not using JSCS, or set only for JSCS.","cause":"The 'fix' option is only supported for JSCS, not for JSHint or ESLint.","error":"fashion-show: unknown option: --fix"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"fashion-show","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/indexzero/fashion-show","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fashion-show","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}