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.
npm install babel-jscsVerified import paths — ran on the pinned version, not inferred.
Demonstrates installing and using babel-jscs with JSCS to lint Babel code.
Use babel-eslint instead, or JSCS 1.x with the esnext option.
Migrate to ESLint with babel-eslint or @babel/eslint-parser.
Use babel-jscs with { "esnext": true } or use ESLint with babel-eslint.No dependency data recorded yet.