.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / utils / atRuleParamIndex.js
1 /* @flow */
2 "use strict";
3 module.exports = function(atRule /*: postcss$atRule*/) /*: number*/ {
4   // Initial 1 is for the `@`
5   let index = 1 + atRule.name.length;
6   if (atRule.raws.afterName) {
7     index += atRule.raws.afterName.length;
8   }
9   return index;
10 };