Skip to content

Commit

Permalink
[ms-2090] omit some folders by lint rules (#39)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcin <marcin_privbate@wp.pl>
  • Loading branch information
Class66 and Marcin committed Apr 5, 2021
1 parent 1c6a8f5 commit 11a458e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules
coverage
static
public
Johnny-Five
images
Expand Down
2 changes: 2 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules
coverage
static
public
Johnny-Five
images
Expand Down
9 changes: 0 additions & 9 deletions src/components/SignalLabel/SignalLabel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ import React from 'react';
import { PropTypes } from 'prop-types';

import './SignalLabel.scss';
import getOptions from 'stylelint-webpack-plugin/declarations/getOptions';

if (true) {
getOptions();
}

if (false) {
return null;
}

export const SignalLabel = ({ signal }) => (
<span className="SignalLabel">
Expand Down

0 comments on commit 11a458e

Please sign in to comment.