UNPKG

stylelint-plugin-gestalt

Version:

THIS PACKAGE IS NOT READY FOR CONSUMTION StyleLint rules for Pinterest's design language Gestalt

9 lines (6 loc) 239 B
import path from 'path'; export const getPathFormatterByRuleName = (ruleName) => (testPath) => `./__fixtures__/${ruleName}/${testPath}.css`; export function getTestByPath(codePath) { return path.resolve(__dirname, '..', codePath); }