add TailwindCSS

+ a lot of node_modules?? unsure what happened
This commit is contained in:
sindrekjelsrud 2023-07-20 20:28:44 +02:00
parent 2ba37bfbe3
commit bb41712ce4
1088 changed files with 224305 additions and 175 deletions

View file

@ -0,0 +1,15 @@
import { containsNewline } from './util-contains-newline.js';
function flowIndentCheck(indent, fc, onError) {
if (fc?.type === 'flow-collection') {
const end = fc.end[0];
if (end.indent === indent &&
(end.source === ']' || end.source === '}') &&
containsNewline(fc)) {
const msg = 'Flow end indicator should be more indented than parent';
onError(end, 'BAD_INDENT', msg, true);
}
}
}
export { flowIndentCheck };