<commit_before>" vim: ts=4 sw=4 et

function! neomake#makers#ft#typescript#EnabledMakers() abort
    return ['tsc', 'tslint']
endfunction

function! neomake#makers#ft#typescript#tsc() abort
    " tsc should not be passed a single file.  Changing to the file's dir will
    " make it look upwards for a tsconfig.json file.
    return {
        \ 'args': ['--noEmit'],
        \ 'append_file': 0,
        \ 'cwd': '%:p:h',
        \ 'errorformat':
            \ '%E%f %#(%l\,%c): error %m,' .
            \ '%E%f %#(%l\,%c): %m,' .
            \ '%Eerror %m,' .
            \ '%C%\s%\+%m'
        \ }
endfunction

function! neomake#makers#ft#typescript#tslint() abort
    return {
        \ 'args': [
            \ '%:p', '--format verbose'
        \ ],
        \ 'errorformat': '%f[%l\, %c]: %m'
        \ }<commit_msg>tslint maker: use %E in errorformat (#810)<commit_after>" vim: ts=4 sw=4 et

function! neomake#makers#ft#typescript#EnabledMakers() abort
    return ['tsc', 'tslint']
endfunction

function! neomake#makers#ft#typescript#tsc() abort
    " tsc should not be passed a single file.  Changing to the file's dir will
    " make it look upwards for a tsconfig.json file.
    return {
        \ 'args': ['--noEmit'],
        \ 'append_file': 0,
        \ 'cwd': '%:p:h',
        \ 'errorformat':
            \ '%E%f %#(%l\,%c): error %m,' .
            \ '%E%f %#(%l\,%c): %m,' .
            \ '%Eerror %m,' .
            \ '%C%\s%\+%m'
        \ }
endfunction

function! neomake#makers#ft#typescript#tslint() abort
    return {
        \ 'args': [
            \ '%:p', '--format verbose'
        \ ],
        \ 'errorformat': '%E%f[%l\, %c]: %m'
        \ }
{'fraction_non_alphanumeric': 0.1967606478704259, 'fraction_numerical': 0.005398920215956809, 'mean_word_length': 1.9732620320855614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7046555', 'n_tokens_mistral': 608, 'n_tokens_neox': 595, 'n_words': 142}