{"id":19005,"library":"babel-jscs","title":"babel-jscs","description":"babel-jscs allows linting all valid Babel code with JSCS by providing a custom parser (esprima) that monkeypatches JSCS to support Babel syntax. The package is experimental, last released as 3.0.0-beta1, and is intended to be integrated into JSCS itself via the --esnext flag. It is not actively maintained and is superseded by ESLint and babel-eslint. Key differentiator: enables Babel syntax support for JSCS users before JSCS natively supported it.","status":"deprecated","version":"3.0.0-beta1","language":"javascript","source_language":"en","source_url":"https://github.com/jscs-dev/babel-jscs","tags":["javascript","babel-jscs","babel","jscs"],"install":[{"cmd":"npm install babel-jscs","lang":"bash","label":"npm"},{"cmd":"yarn add babel-jscs","lang":"bash","label":"yarn"},{"cmd":"pnpm add babel-jscs","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This is not a programmatic API; it is a JSCS plugin configured in .jscsrc or CLI.","wrong":"Trying to import babel-jscs as a module in code","symbol":"babel-jscs (as eslint plugin)","correct":"Use via JSCS config: { \"esnext\": true }"}],"quickstart":{"code":"npm install -g jscs babel-jscs\n# In your project root, create .jscsrc:\necho '{\"esnext\": true}' > .jscsrc\n# Lint a file:\njscs myfile.js\n# Or without config file:\njscs myfile.js --esnext","lang":"javascript","description":"Demonstrates installing and using babel-jscs with JSCS to lint Babel code."},"warnings":[{"fix":"Use babel-eslint instead, or JSCS 1.x with the esnext option.","message":"Requires a specific JSCS version (pre-2.0) to work; not compatible with JSCS 2.x+ without monkeypatching.","severity":"gotcha","affected_versions":">=3.0.0-beta1"},{"fix":"Migrate to ESLint with babel-eslint or @babel/eslint-parser.","message":"This package is no longer maintained; JSCS has been retired in favor of ESLint.","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":"Use babel-jscs with { \"esnext\": true } or use ESLint with babel-eslint.","cause":"JSCS parser does not understand ES modules without babel-jscs.","error":"SyntaxError: Unexpected token import"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}