{"id":25529,"library":"eslint-plugin-summer","title":"eslint-plugin-summer","description":"An ESLint plugin that enforces coding style rules themed around 'summer', including restrictions on null/undefined comparisons, let usage, and plain new Date() calls. Version 2.0.1 requires ESLint ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0. It provides a recommended config and a set of opinionated rules. The plugin is lightweight and focuses on specific style preferences rather than general linting.","status":"active","version":"2.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/1natsu172/eslint-summer/tree/master/packages/eslint-plugin-summer","tags":["javascript"],"install":[{"cmd":"npm install eslint-plugin-summer","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-plugin-summer","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-plugin-summer","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; required for plugin to function","package":"eslint","optional":false}],"imports":[{"note":"ESLint plugin naming convention: drop the 'eslint-plugin-' prefix.","wrong":"// using 'eslint-plugin-summer' in plugins","symbol":"Plugin","correct":"// .eslintrc: plugins: ['summer']"},{"note":"All rules must be prefixed with 'summer/'.","wrong":"// rules: { 'no-let': 'error' }","symbol":"Rules","correct":"// .eslintrc: rules: { 'summer/no-let': 'error' }"},{"note":"Configs are accessed via 'plugin:summer/recommended'.","wrong":"extends: ['summer/recommended']","symbol":"Recommended config","correct":"extends: ['plugin:summer/recommended']"}],"quickstart":{"code":"// .eslintrc file\n{\n  \"plugins\": [\"summer\"],\n  \"rules\": {\n    \"summer/no-eqeqeq-null-undefined\": \"error\",\n    \"summer/no-let\": \"error\",\n    \"summer/no-plain-new-date\": \"error\"\n  }\n}","lang":"json","description":"ESLint configuration enabling all three summer plugin rules."},"warnings":[{"fix":"Use ESLint 7.x or earlier, or check for newer versions of the plugin.","message":"Plugin expects ESLint version 4, 5, 6, or 7. Does not work with ESLint 8 or later.","severity":"gotcha","affected_versions":">=2.0.0"},{"fix":"Review the rule documentation for exact patterns.","message":"The rule 'no-eqeqeq-null-undefined' does not cover all null/undefined comparisons; only strict equality with null or undefined is flagged.","severity":"gotcha","affected_versions":"*"},{"fix":"Test well when combining with other configs.","message":"The plugin's recommended config may conflict with other style rules from other plugins.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install --save-dev eslint-plugin-summer'.","cause":"Plugin not installed or not in node_modules.","error":"ESLint: Failed to load plugin 'summer': Cannot find module 'eslint-plugin-summer'"},{"fix":"Ensure plugin is listed in 'plugins' array and rule name is correct.","cause":"Incorrect rule name or plugin not registered.","error":"ESLint: Rule 'summer/no-let' not found"},{"fix":"Set severity to 'off', 'warn', or 'error' without extra options.","cause":"Invalid rule options or severity level.","error":"Configuration for rule 'summer/no-eqeqeq-null-undefined' is invalid"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}