import e from"../../../../../_virtual/index13.mjs";import{__require as r}from"../../utils/namespace.mjs";import{__require as s}from"../../utils/ruleUrl.mjs";var t,a;function i(){if(a)return t;a=1;const{utils:i}=e,l=r(),n=s(),o=l("at-import-no-partial-leading-underscore"),c=i.ruleMessages(o,{expected:"Unexpected leading underscore in imported partial name"}),p={url:n(o),deprecated:!0};function u(e){return(r,s)=>{i.validateOptions(s,o,{actual:e})&&(s.warn("'at-import-no-partial-leading-underscore' has been deprecated, and will be removed in '7.0'. Use 'load-no-partial-leading-underscore' instead.",{stylelintType:"deprecation",stylelintReference:"https://github.com/stylelint-scss/stylelint-scss/blob/v5.2.1/src/rules/at-import-no-partial-leading-underscore/README.md"}),r.walkAtRules("import",e=>{e.params.split(",").forEach(r=>{!function(e,r){const t=e.replace(/^\s*(["'])\s*/,"").replace(/\s*(["'])\s*$/,"");-1!==t.search(/(?:^|\/|\\)_[^/]+$/)&&"url("!==t.slice(0,4)&&".css"!==t.slice(-4)&&-1===t.search("//")&&-1===t.search(/[\s,)"']\w+$/)&&i.report({message:c.expected,node:r,result:s,ruleName:o})}(r,e)})}))}}return u.ruleName=o,u.messages=c,u.meta=p,t=u}export{i as __require};