ESLint shareable config for MetaLab's JavaScript style guidelines, version 10.1.0. It extends rules inspired by Airbnb with additional opinionated choices, covering ES5 (legacy), ES6 (base), and React. The config namespaces all plugin rules under `metalab/` to avoid peer dependency conflicts and multiple plugin installs. Release cadence is sporadic; major versions may introduce breaking rule changes.
npm install eslint-config-metalabNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install eslint and eslint-config-metalab, then configure .eslintrc with the 'metalab' preset and optional sub-presets (base, react). Copy .gitignore to .eslintignore and run eslint.
Use 'metalab/rule-name' instead of 'plugin/rule-name' to disable rules.
Update your .eslintrc to use 'metalab/base' for modern code or 'metalab/legacy' for ES5.
Update Node.js to >=6 and ESLint to ^4.
Use 'metalab/base' for modern ES6+ code and consider a custom config for legacy ES5.
Check the package's dependencies in node_modules/eslint-config-metalab/package.json for required plugins and install them.
Ensure eslint-config-metalab is installed: npm install --save-dev eslint-config-metalab.
Set 'extends': ['metalab'] in .eslintrc.json.
Use 'metalab/import/no-commonjs' as the rule key when disabling.
Run: npm install --save-dev eslint@^5.2.0