Skip to content

Commit

Permalink
[core] Remove blank line after eslint disable
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 25, 2019
1 parent f863c2d commit 04ac4a7
Show file tree
Hide file tree
Showing 42 changed files with 0 additions and 42 deletions.
1 change: 0 additions & 1 deletion docs/scripts/buildApi.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import { mkdir, readFileSync, writeFileSync } from 'fs';
import { getLineFeed } from './helpers';
import path from 'path';
Expand Down
1 change: 0 additions & 1 deletion docs/scripts/buildIcons.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

const path = require('path');
const gm = require('gm');

Expand Down
1 change: 0 additions & 1 deletion docs/scripts/buildServiceWorker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

const path = require('path');
const fse = require('fs-extra');

Expand Down
1 change: 0 additions & 1 deletion docs/scripts/formattedTSDemos.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

/**
* Transpiles TypeScript demos to formatted JavaScript.
* Can be used to verify that JS and TS demos are equivalent. No introduced change
Expand Down
1 change: 0 additions & 1 deletion docs/scripts/i18n.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import path from 'path';
import fse from 'fs-extra';
import { pageToTitle } from 'docs/src/modules/utils/helpers';
Expand Down
1 change: 0 additions & 1 deletion docs/scripts/updateIconSynonyms.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import 'isomorphic-fetch';
import fse from 'fs-extra';
import path from 'path';
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/components/AppTableOfContents.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable react/no-danger */

import React from 'react';
import PropTypes from 'prop-types';
import marked from 'marked';
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/components/Notifications.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable react/no-danger, react-hooks/exhaustive-deps */

import 'isomorphic-fetch';
import React from 'react';
import { useSelector } from 'react-redux';
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/components/prism.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable import/no-mutable-exports, global-require */

import prism from 'prismjs';
import 'prismjs/components/prism-css';
import 'prismjs/components/prism-diff';
Expand Down
1 change: 0 additions & 1 deletion docs/src/modules/redux/initRedux.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-underscore-dangle */

import { createStore, combineReducers, applyMiddleware, compose } from 'redux';
import optionsReducer from 'docs/src/modules/redux/optionsReducer';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/anchor-is-valid */

import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Paper from '@material-ui/core/Paper';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/anchor-is-valid */

import React from 'react';
import { makeStyles, Theme, createStyles } from '@material-ui/core/styles';
import Paper from '@material-ui/core/Paper';
Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/components/breadcrumbs/RouterBreadcrumbs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-nested-ternary */

import React from 'react';
import PropTypes from 'prop-types';
import { makeStyles } from '@material-ui/core/styles';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-nested-ternary */

import React from 'react';
import { makeStyles, Theme, createStyles } from '@material-ui/core/styles';
import List from '@material-ui/core/List';
Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/components/links/ButtonLink.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/anchor-is-valid */

import React from 'react';
import Link from '@material-ui/core/Link';

Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/components/links/ButtonLink.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/anchor-is-valid */

import React from 'react';
import Link from '@material-ui/core/Link';

Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/components/links/Links.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/anchor-is-valid */

import React from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Link from '@material-ui/core/Link';
Expand Down
1 change: 0 additions & 1 deletion docs/src/pages/components/links/Links.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/anchor-is-valid */

import React from 'react';
import { makeStyles, createStyles, Theme } from '@material-ui/core/styles';
import Link from '@material-ui/core/Link';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-script-url */

import React from 'react';
import Link from '@material-ui/core/Link';
import { makeStyles } from '@material-ui/core/styles';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-script-url */

import React from 'react';
import Link from '@material-ui/core/Link';
import { makeStyles } from '@material-ui/core/styles';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable import/prefer-default-export, react/prop-types */

import React from 'react';
import TopLayout from './TopLayout';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable import/prefer-default-export, react/prop-types */

import React from 'react';
import TopLayout from './TopLayout';

Expand Down
1 change: 0 additions & 1 deletion modules/log.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

// https://github.com/trentm/node-bunyan#levels
const logTypes = {
// Detail on regular operation.
Expand Down
1 change: 0 additions & 1 deletion packages/eslint-plugin-material-ui/src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable global-require */

module.exports.rules = {
'docgen-ignore-before-comment': require('./rules/docgen-ignore-before-comment'),
'no-hardcoded-labels': require('./rules/no-hardcoded-labels'),
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-benchmark/src/core.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import Benchmark from 'benchmark';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-benchmark/src/docs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import Benchmark from 'benchmark';
import fs from 'fs';
import path from 'path';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-benchmark/src/server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import express from 'express';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-benchmark/src/styles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import Benchmark from 'benchmark';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-benchmark/src/system.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import Benchmark from 'benchmark';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-icons/builder.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import fse from 'fs-extra';
import yargs from 'yargs';
import path from 'path';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-icons/scripts/create-typings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import path from 'path';
import chalk from 'chalk';
import fse from 'fs-extra';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-icons/scripts/download.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

import 'isomorphic-fetch';
import fse from 'fs-extra';
import path from 'path';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-restricted-syntax */

function getThemeProps(params) {
const { theme, name, props } = params;

Expand Down
1 change: 0 additions & 1 deletion packages/material-ui-styles/src/makeStyles/indexCounter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable import/prefer-default-export */

// Global index counter to preserve source order.
// We create the style sheet during at the creation of the component,
// children are handled after the parents, so the order of style elements would be parent->child.
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/Dialog/Dialog.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/click-events-have-key-events */

import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/InputBase/InputBase.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */

import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/Modal/TrapFocus.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */

import React from 'react';
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/Portal/Portal.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable react/prop-types */

import React from 'react';
import { assert } from 'chai';
import { spy } from 'sinon';
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/Tabs/TabScrollButton.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable jsx-a11y/aria-role */

import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
Expand Down
1 change: 0 additions & 1 deletion scripts/deduplicate.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

const { spawn } = require('child_process');
const path = require('path');
const fs = require('fs');
Expand Down
1 change: 0 additions & 1 deletion scripts/prettier.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

// Based on similar script in React
// https://github.com/facebook/react/blob/b87aabdfe1b7461e7331abb3601d9e6bb27544bc/scripts/prettier/index.js

Expand Down
1 change: 0 additions & 1 deletion test/utils/consoleError.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-console */

// Makes sure the tests fails when a PropType validation fails.
function consoleError() {
console.error = (...args) => {
Expand Down

0 comments on commit 04ac4a7

Please sign in to comment.