<commit_before>'use strict';

var fs = require( 'fs' );
var path = require( 'path' );
var extname = require( './../lib' );

var files;
var fpath;
var base;
var stat;
var ext;
var i;

base = path.resolve( __dirname, '..' );
files = fs.readdirSync( base );

for ( i = 0; i < files.length; i++ ) {
	fpath = path.join( base, files[ i ] );
	stat = fs.statSync( fpath );
	if ( !stat.isDirectory() ) {
		ext = extname( fpath );
		console.log( '%s --> %s', fpath, ext || '(no ext)' );
	}
}
<commit_msg>Fix lint warnings<commit_after>'use strict';

var statSync = require( 'fs' ).statSync;
var path = require( 'path' );
var readDir = require( '@stdlib/fs/read-dir' ).sync;
var extname = require( './../lib' );

var files;
var fpath;
var base;
var stat;
var ext;
var i;

base = path.resolve( __dirname, '..' );
files = readDir( base );

for ( i = 0; i < files.length; i++ ) {
	fpath = path.join( base, files[ i ] );
	stat = statSync( fpath );
	if ( !stat.isDirectory() ) {
		ext = extname( fpath );
		console.log( '%s --> %s', fpath, ext || '(no ext)' );
	}
}

{'fraction_non_alphanumeric': 0.20952380952380953, 'fraction_numerical': 0.0019047619047619048, 'mean_word_length': 3.272357723577236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2365760', 'n_tokens_mistral': 415, 'n_tokens_neox': 407, 'n_words': 124}