Skip to content

Commit

Permalink
chore: remove unused eslint disable directives
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Mar 21, 2021
1 parent 2f9a6ad commit 19d08ec
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion lib/grammar-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const GrammarUtils = {
return ['-c', command];
},

/* eslint-disable global-require */
// Public: Get the Java helper object
//
// Returns an {Object} which assists in preparing java + javac statements
Expand Down
1 change: 0 additions & 1 deletion lib/link-paths.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use babel';

/* eslint-disable no-multi-str, prefer-const, func-names */
let linkPaths;
const regex = /((?:\w:)?\/?(?:[\w.-]+\/)*[\w.-]+):(\d+)(?::(\d+))?/g;
// ((?:\w:)?/? # Prefix of the path either '/' or 'C:/' (optional)
Expand Down
3 changes: 0 additions & 3 deletions lib/script-profile-run-view.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use babel';

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

this.buttons = $$(function () {
this.div({ class: 'block buttons' }, () => {
/* eslint-disable no-unused-vars */
const css = 'btn inline-block-tight';
/* eslint-enable no-unused-vars */
this.button({ class: 'btn cancel' }, () => this.span({ class: 'icon icon-x' }, 'Cancel'));
this.button({ class: 'btn rename' }, () => this.span({ class: 'icon icon-pencil' }, 'Rename'));
this.button({ class: 'btn delete' }, () => this.span({ class: 'icon icon-trashcan' }, 'Delete'));
Expand Down
1 change: 0 additions & 1 deletion lib/script-view.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use babel';

/* eslint-disable func-names */
import { $$ } from 'atom-space-pen-views-plus';
import { MessagePanelView } from 'atom-message-panel';
import _ from 'underscore';
Expand Down
2 changes: 0 additions & 2 deletions spec/grammars-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import tempy from 'tempy';
import path from 'path';

/* eslint-disable no-unused-vars, global-require, no-undef */
import CodeContext from '../lib/code-context';
import OperatingSystem from '../lib/grammar-utils/operating-system';
import grammarMap from '../lib/grammars';
Expand All @@ -32,7 +31,6 @@ describe('grammarMap', () => {
if (process.platform === 'darwin') {
expect(commandContext.command).toBeDefined();
} else {
/* eslint-disable no-console */
console.warn(`This test does not work on ${process.platform}`, commandContext.command);
}
const argList = commandContext.args(this.codeContext);
Expand Down
1 change: 0 additions & 1 deletion spec/script-options-view-spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use babel';

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

describe('ScriptOptionsView', () => {
Expand Down

0 comments on commit 19d08ec

Please sign in to comment.