<commit_before>import { Diagnostic } from 'vscode-languageserver';
import RuboCop, { IRuboCopResults } from './RuboCop';

export default class Standard extends RuboCop {
	protected code = 'Standard';

	get cmd(): string {
		if (this.lintConfig.command) {
			return this.lintConfig.command;
		} else {
			const command = 'standardrb';
			return this.isWindows() ? command + '.bat' : command;
		}
	}<commit_msg>Pass --no-fix to Standard linter. Resolves #447<commit_after>import { Diagnostic } from 'vscode-languageserver';
import RuboCop, { IRuboCopResults } from './RuboCop';

export default class Standard extends RuboCop {
	protected code = 'Standard';

	get cmd(): string {
		if (this.lintConfig.command) {
			return this.lintConfig.command;
		} else {
			const command = 'standardrb';
			return this.isWindows() ? command + '.bat' : command;
		}
	}

	get args(): string[] {
		const args = super.args;
		args.push('--no-fix');
		return args;
	}
{'fraction_non_alphanumeric': 0.13621964097148892, 'fraction_numerical': 0.0031678986272439284, 'mean_word_length': 3.911917098445596, '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': '2338179', 'n_tokens_mistral': 334, 'n_tokens_neox': 300, 'n_words': 83}