ESLint shareable config for Mr.doob's Code Style™, the coding style used by three.js and other mrdoob projects. Current stable version is 5.0.0, released Apr 2020. The config enforces Mr.doob's conventions via ESLint with ES2020 support. This package is part of the mrdoobapproves browser-based code style checker/formatter. The config has evolved from a modified JSCS to now rely entirely on ESLint. Major differentiator: it's the official style for contributing to three.js, simplifying PR submission by validating adherence to Mr.doob's Code Style.
npm install eslint-config-mdcsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install and configure eslint-config-mdcs in a JavaScript project. Shows npm install and ESLint config setup.
Stay on version 4.0.0 or migrate to ESLint-only setup.
Update your config to use 'semi-style': ['error', 'last'] instead.
Make sure your ESLint version is >= 7.0.0 and parser options support ES2020.
Use exactly 'mdcs' in the extends field.
Run 'npm install --save-dev eslint-config-mdcs' and ensure the package is in your devDependencies.
Update ESLint to version 7.0.0 or later, and ensure your ESLint configuration does not override parserOptions with an earlier ecmaVersion.
Remove 'no-space-before-semicolon' from your rules and use 'semi-style' instead.
No dependency data recorded yet.