{"id":25865,"library":"lint-config-m","title":"lint-config-m","description":"Shared ESLint and Stylelint configuration package. Current version 3.1.0, stable, with minimal releases. Requires manual installation of peer dependencies (ESLint ^3.13.0, Stylelint ^7.7.1). Provides pre-configured rule sets for JavaScript and CSS linting. Offers separate config files for ESLint and Stylelint, extending from local node_modules paths. Aimed at standardizing lint setups across projects.","status":"active","version":"3.1.0","language":"javascript","source_language":"en","source_url":"https://github.com/evenchange4/lint-config-m","tags":["javascript"],"install":[{"cmd":"npm install lint-config-m","lang":"bash","label":"npm"},{"cmd":"yarn add lint-config-m","lang":"bash","label":"yarn"},{"cmd":"pnpm add lint-config-m","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency: required for ESLint config to work; must be installed separately.","package":"eslint","optional":false},{"reason":"Peer dependency: required for Stylelint config to work; must be installed separately.","package":"stylelint","optional":false}],"imports":[{"note":"Use extends path in package.json or .eslintrc; direct require not supported.","wrong":"require('lint-config-m/eslint')","symbol":"default (ESLint config)","correct":"eslint config extends: [\"./node_modules/lint-config-m/eslint.js\"]"},{"note":"Use extends path in .stylelintrc; direct require not supported.","wrong":"require('lint-config-m/stylelint')","symbol":"default (Stylelint config)","correct":"stylelint config extends: \"./node_modules/lint-config-m/stylelint.js\""},{"note":"Package only provides config files; no JavaScript exports.","symbol":"nothing else"}],"quickstart":{"code":"// 1. Install\nnpm install eslint stylelint lint-config-m --save-dev\n\n// 2. Create .eslintrc.json\n{\n  \"eslintConfig\": {\n    \"extends\": [\"./node_modules/lint-config-m/eslint.js\"]\n  }\n}\n\n// 3. Create .stylelintrc\n{\n  \"extends\": \"./node_modules/lint-config-m/stylelint.js\"\n}\n\n// 4. Lint\nnpx eslint src/\nnpx stylelint src/**/*.css","lang":"javascript","description":"Shows installation, ESLint and Stylelint configuration using extends paths, and basic lint commands."},"warnings":[{"fix":"Use full path: \"./node_modules/lint-config-m/eslint.js\"","message":"Config files are found under node_modules/lint-config-m/. Do NOT use package name directly in extends.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use older ESLint/Stylelint versions or look for alternative config packages supporting newer versions.","message":"Peer dependency versions are locked to ESLint ^3.13.0 and Stylelint ^7.7.1. Incompatible with newer versions without manual override.","severity":"breaking","affected_versions":"3.1.0"},{"fix":"Consider using popular alternatives like eslint-config-airbnb or stylelint-config-standard.","message":"This package has not been updated recently; shared configs may not reflect latest best practices.","severity":"deprecated","affected_versions":">=3.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use 'extends' in eslint config: \"extends\": [\"./node_modules/lint-config-m/eslint.js\"]","cause":"Requiring the config file as a module instead of using extends path.","error":"Error: Cannot find module 'lint-config-m/eslint'"},{"fix":"Ensure ESLint version matches ^3.13.0 and configure parserOptions if using ES modules.","cause":"ESLint parser version mismatch with the config's rule set.","error":"Parsing error: The keyword 'import' is reserved"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}