Skip to content

Commit 19d08ec

Browse files
committed
chore: remove unused eslint disable directives
1 parent 2f9a6ad commit 19d08ec

File tree

6 files changed

+0
-9
lines changed

6 files changed

+0
-9
lines changed

lib/grammar-utils.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ const GrammarUtils = {
6161
return ['-c', command];
6262
},
6363

64-
/* eslint-disable global-require */
6564
// Public: Get the Java helper object
6665
//
6766
// Returns an {Object} which assists in preparing java + javac statements

lib/link-paths.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use babel';
22

3-
/* eslint-disable no-multi-str, prefer-const, func-names */
43
let linkPaths;
54
const regex = /((?:\w:)?\/?(?:[\w.-]+\/)*[\w.-]+):(\d+)(?::(\d+))?/g;
65
// ((?:\w:)?/? # Prefix of the path either '/' or 'C:/' (optional)

lib/script-profile-run-view.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use babel';
22

3-
/* eslint-disable func-names */
43
import { CompositeDisposable, Emitter } from 'atom';
54
import { $$, SelectListView } from 'atom-space-pen-views-plus';
65
import ScriptInputView from './script-input-view';
@@ -29,9 +28,7 @@ export default class ScriptProfileRunView extends SelectListView {
2928

3029
this.buttons = $$(function () {
3130
this.div({ class: 'block buttons' }, () => {
32-
/* eslint-disable no-unused-vars */
3331
const css = 'btn inline-block-tight';
34-
/* eslint-enable no-unused-vars */
3532
this.button({ class: 'btn cancel' }, () => this.span({ class: 'icon icon-x' }, 'Cancel'));
3633
this.button({ class: 'btn rename' }, () => this.span({ class: 'icon icon-pencil' }, 'Rename'));
3734
this.button({ class: 'btn delete' }, () => this.span({ class: 'icon icon-trashcan' }, 'Delete'));

lib/script-view.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use babel';
22

3-
/* eslint-disable func-names */
43
import { $$ } from 'atom-space-pen-views-plus';
54
import { MessagePanelView } from 'atom-message-panel';
65
import _ from 'underscore';

spec/grammars-spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import tempy from 'tempy';
66
import path from 'path';
77

8-
/* eslint-disable no-unused-vars, global-require, no-undef */
98
import CodeContext from '../lib/code-context';
109
import OperatingSystem from '../lib/grammar-utils/operating-system';
1110
import grammarMap from '../lib/grammars';
@@ -32,7 +31,6 @@ describe('grammarMap', () => {
3231
if (process.platform === 'darwin') {
3332
expect(commandContext.command).toBeDefined();
3433
} else {
35-
/* eslint-disable no-console */
3634
console.warn(`This test does not work on ${process.platform}`, commandContext.command);
3735
}
3836
const argList = commandContext.args(this.codeContext);

spec/script-options-view-spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use babel';
22

3-
/* eslint-disable no-underscore-dangle */
43
import ScriptOptionsView from '../lib/script-options-view';
54

65
describe('ScriptOptionsView', () => {

0 commit comments

Comments
 (0)