{"version":3,"sources":["../src/configs/v2-strict.ts"],"sourcesContent":["import type { Linter } from \"eslint\";\n\nimport v2 from \"./v2\";\n\n// Everything in the v2 config, plus opinionated rules that are valid patterns\n// in some apps (e.g. client-only) but hazards in others. Intended for teams\n// that want the plugin's strongest opinions.\nconst v2Strict = {\n  plugins: v2.plugins,\n  languageOptions: v2.languageOptions,\n  settings: v2.settings,\n  rules: {\n    ...v2.rules,\n    // module-scope reactive state is shared across SSR requests\n    \"solid/no-module-scope-reactive-primitive\": 2,\n    // side-effectful setup in component bodies belongs in onSettled;\n    // warn-level because detection is a heuristic over a known-call list\n    \"solid/prefer-onSettled-for-side-effects\": 1,\n    // restating default prop/option values is noise\n    \"solid/no-restated-default-options\": 2,\n    // graduate the class-string heuristic to an error\n    \"solid/prefer-structured-class\": 2,\n    // graduate the half-unused signal check to an error\n    \"solid/no-unused-signal\": 2,\n  },\n  // Validate against ESLint's own config type so the export stays assignable\n  // to `defineConfig()` (#233); `satisfies` keeps the precise literal type.\n} satisfies Linter.Config;\n\nexport = v2Strict;\n"],"mappings":";;;;;;;;;AAAA;AAAA;AAEA,oBAAe;AAKf,QAAM,WAAW;AAAA,MACf,SAAS,UAAAA,QAAG;AAAA,MACZ,iBAAiB,UAAAA,QAAG;AAAA,MACpB,UAAU,UAAAA,QAAG;AAAA,MACb,OAAO;AAAA,QACL,GAAG,UAAAA,QAAG;AAAA;AAAA,QAEN,4CAA4C;AAAA;AAAA;AAAA,QAG5C,2CAA2C;AAAA;AAAA,QAE3C,qCAAqC;AAAA;AAAA,QAErC,iCAAiC;AAAA;AAAA,QAEjC,0BAA0B;AAAA,MAC5B;AAAA;AAAA;AAAA,IAGF;AAEA,qBAAS;AAAA;AAAA;","names":["v2"]}