{"id":25483,"library":"eslint-config-ma-shop","title":"eslint-config-ma-shop","description":"MarketAmerica SHOP.COM's base ESLint configuration, extending Airbnb's rules with minor modifications. Version 0.5.2 requires ESLint ^8.56.0 as a peer dependency. Designed for JavaScript projects without React plugins. The package is specific to the organization and not actively updated (last release 0.5.2).","status":"maintenance","version":"0.5.2","language":"javascript","source_language":"en","source_url":"https://github.com/ma-shop/lint-rules#master","tags":["javascript","eslint","eslintconfig","config","ma","marketamerica","shop","ma-shop"],"install":[{"cmd":"npm install eslint-config-ma-shop","lang":"bash","label":"npm"},{"cmd":"yarn add eslint-config-ma-shop","lang":"bash","label":"yarn"},{"cmd":"pnpm add eslint-config-ma-shop","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency required to run ESLint","package":"eslint","optional":false}],"imports":[{"note":"When using with 'extends', omit the 'eslint-config-' prefix; ESLint resolves it automatically.","wrong":"{\n  \"extends\": [\"eslint-config-ma-shop\"]\n}","symbol":"config","correct":"{\n  \"extends\": [\"ma-shop\"]\n}"},{"note":"The package exports a single config; no subpath exports exist.","wrong":"const config = require('eslint-config-ma-shop/config');","symbol":"require","correct":"const config = require('eslint-config-ma-shop');"},{"note":"The module has a default export, not a named export.","wrong":"import { config } from 'eslint-config-ma-shop';","symbol":"default","correct":"import config from 'eslint-config-ma-shop';"}],"quickstart":{"code":"{\n  \"name\": \"my-project\",\n  \"devDependencies\": {\n    \"eslint\": \"^8.56.0\",\n    \"eslint-config-ma-shop\": \"^0.5.2\"\n  },\n  \"eslintConfig\": {\n    \"extends\": [\"ma-shop\"]\n  }\n}","lang":"javascript","description":"Set up package.json with ESLint peer dep and config extending ma-shop rules."},"warnings":[{"fix":"Consider using more active configs like eslint-config-airbnb or eslint-config-google.","message":"Package may no longer be maintained; last release was 0.5.2 with no recent updates.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Ensure ESLint is version 8.56.0 or later, or pin to a compatible version.","message":"Requires ESLint version 8.56.0 or higher; incompatible with ESLint 9.x due to flat config changes.","severity":"breaking","affected_versions":">=0.2.0"},{"fix":"Review the actual rules at https://github.com/ma-shop/lint-rules before depending on specific behavior.","message":"The config extends Airbnb's rules with modifications; unexpected overrides may occur if using other configs that extend Airbnb.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use 'ma-shop' (lowercase) in the extends array.","message":"The 'ma-shop' string in 'extends' is case-sensitive and must be exactly 'ma-shop'.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install eslint-config-ma-shop --save-dev' and use 'extends': ['ma-shop'] without the 'eslint-config-' prefix.","cause":"Missing package in node_modules or improper 'extends' prefix.","error":"Error: Cannot find module 'eslint-config-ma-shop'"},{"fix":"Verify the package is installed in node_modules and that ESLint version is compatible (^8.56.0).","cause":"Config resolution may fail if the package is not in node_modules or if using older ESLint.","error":"ESLint couldn't find the config \"ma-shop\" after the package was installed."},{"fix":"Check the actual config rules in the GitHub repo and ensure all required plugins are installed.","cause":"The config extends Airbnb but with modifications; some rules may conflict with other plugins.","error":"Configuration for rule \"xxx\" is invalid"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}