{"id":19592,"library":"eslint-config-strict","title":"eslint-config-strict","description":"ESLint shareable config for extremely strict linting, enforcing high code quality and consistency. The current stable version is 14.0.1, which is the final release as the package has been deprecated in favor of eslint-config-strict-es6. It provides a comprehensive set of ESLint rules documented and justified per-rule, covering ES5, ES6, Mocha, browser, and Babel environments. Unlike many other configs, it includes additive presets for React and legacy Node 0.12 support was broken in v10.0.0. No longer actively maintained; last release was in 2017.","status":"deprecated","version":"14.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/keithamus/eslint-config-strict","tags":["javascript","check","checker","code","code checker","code linter","code standards","code style","enforce"],"install":[{"cmd":"npm install eslint-config-strict","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-strict","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-strict","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required to use shareable config","package":"eslint","optional":false},{"reason":"Required dependency for file naming rules","package":"eslint-plugin-filenames","optional":false}],"imports":[{"note":"ESLint resolves 'strict' to 'eslint-config-strict'; the full name is also valid but unnecessary.","wrong":"{ \"extends\": [\"eslint-config-strict\"] }","symbol":"strict","correct":"{ \"extends\": [\"strict\"] }"},{"note":"ES5 configuration for projects not using ES6 features.","wrong":"{ \"extends\": [\"strict/es5\"] } is correct; no wrong pattern known.","symbol":"strict/es5","correct":"{ \"extends\": [\"strict/es5\"] }"},{"note":"Sets env.browser to true; can be combined with other presets.","wrong":"{ \"extends\": [\"strict/browser\"] } is correct; ensure env.browser is not also set.","symbol":"strict/browser","correct":"{ \"extends\": [\"strict/browser\"] }"},{"note":"Adds mocha env, globals, and disables certain rules.","wrong":"{ \"extends\": [\"strict/mocha\"] } is correct; adding env.mocha is redundant.","symbol":"strict/mocha","correct":"{ \"extends\": [\"strict/mocha\"] }"},{"note":"For Babel transpiled code; requires eslint-plugin-babel plugin.","wrong":"Requires eslint-plugin-babel to be installed separately.","symbol":"strict/babel","correct":"{ \"extends\": [\"strict/babel\"] }"}],"quickstart":{"code":"// package.json\n{\n  \"devDependencies\": {\n    \"eslint\": \"^6.0.0\",\n    \"eslint-config-strict\": \"^14.0.0\",\n    \"eslint-plugin-filenames\": \"^1.0.0\"\n  },\n  \"eslintConfig\": {\n    \"extends\": [\"strict\", \"strict/browser\", \"strict/es5\"]\n  }\n}","lang":"javascript","description":"Add eslint-config-strict to a project with basic configuration for ES5 and browser environment."},"warnings":[{"fix":"Switch to a maintained config like eslint-config-strict-es6 or eslint-config-airbnb.","message":"eslint-config-strict is deprecated. Use eslint-config-strict-es6 or another modern config.","severity":"deprecated","affected_versions":">=14.0.1"},{"fix":"Upgrade Node.js to version 4 or higher.","message":"Node 0.12 support dropped in v10.0.0.","severity":"breaking","affected_versions":">=10.0.0"},{"fix":"Review new rules and update code accordingly; run eslint --fix.","message":"Old code may cause errors with new configuration due to rule additions/enforcements in v13.0.0, v12.0.0, v11.0.0, etc.","severity":"breaking","affected_versions":">=11.0.0"},{"fix":"Install eslint-plugin-filenames explicitly: npm install --save-dev eslint-plugin-filenames","message":"If using npm < v3, dependencies like eslint-plugin-filenames must be installed manually.","severity":"gotcha","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":"Run: npm install --save-dev eslint-config-strict","cause":"Package not installed.","error":"Error: Cannot find module 'eslint-config-strict'"},{"fix":"Run: npm install --save-dev eslint-plugin-filenames","cause":"Missing dependency required by eslint-config-strict.","error":"Error: Cannot find module 'eslint-plugin-filenames'"},{"fix":"Use an ESLint version compatible with eslint-config-strict (e.g., ESLint 6.x) or switch config.","cause":"ESLint version mismatch; newer ESLint may not support deprecated rules.","error":"Configuration for rule 'some-rule' is invalid"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}