Skip to content

Commit accfe81

Browse files
chore: 🤖 remove all eslint-disable comments
1 parent d0c76ca commit accfe81

File tree

16 files changed

+0
-17
lines changed

16 files changed

+0
-17
lines changed

config/env.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/unambiguous
21
'use strict'
32

43
const fs = require('fs')

config/jest/cssTransform.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/unambiguous
21
'use strict'
32

43
// This is a custom Jest transformer turning style imports into empty objects.

config/jest/fileTransform.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/unambiguous
21
'use strict'
32

43
const path = require('path')

config/polyfills.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/unambiguous
21
'use strict'
32

43
if (typeof Promise === 'undefined') {

config/test.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/unambiguous
21
'use strict'
32

43
// Do this as the first thing so that any code reading it knows the right env.

config/webpack.config.js

-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// eslint-disable-next-line import/unambiguous
21
'use strict'
32

43
const path = require('path')
@@ -164,7 +163,6 @@ module.exports = {
164163
fs: 'empty',
165164
net: 'empty',
166165
tls: 'empty',
167-
// eslint-disable-next-line camelcase
168166
child_process: 'empty',
169167
},
170168
// Turn off performance hints during development because we don't do any

react/components/DatePicker/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ class DatePicker extends Component {
100100
return (
101101
<ReactDatePicker
102102
ref={this.props.forwardedRef}
103-
// eslint-disable-next-line jsx-a11y/no-autofocus
104103
autoFocus={this.props.autoFocus}
105104
customInput={
106105
<Input

react/components/EXPERIMENTAL_Conditions/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable camelcase */
21
import React from 'react'
32
import PropTypes from 'prop-types'
43

react/components/EXPERIMENTAL_Table/DataTable/Headings.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const Headings: FC<HeadingsProps> = ({
4242
checked={checkboxes.allChecked}
4343
partial={checkboxes.someChecked}
4444
disabled={checkboxes.allDisabled}
45-
// eslint-disable-next-line react/jsx-handler-names
4645
onClick={checkboxes.toggleAll}
4746
/>
4847
</span>

react/components/EXPERIMENTAL_Table/Toolbar/PopoverMenu.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export const Box: FC<BoxProps> = ({
7676
<Button
7777
variation="secondary"
7878
size="small"
79-
// eslint-disable-next-line react/jsx-handler-names
8079
onClick={action.onClick}
8180
>
8281
{action.label}

react/components/InputCurrency/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class InputCurrency extends Component {
4646
forwardedRef,
4747
/** We exclude the onChange event because
4848
* NumberFormat uses onValueChange instead */
49-
/* eslint-disable-next-line no-unused-vars */
5049
onChange,
5150
...props
5251
} = this.props

react/components/Table/SimpleTable.js

-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ class SimpleTable extends Component {
127127
addLineActionsToSchema = (schema, lineActions) => {
128128
return {
129129
...schema.properties,
130-
// eslint-disable-next-line camelcase
131130
_VTEX_Table_Internal_lineActions: {
132131
title: NO_TITLE_COLUMN,
133132
width: LINE_ACTIONS_COLUMN_WIDTH,

react/components/ToastProvider/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ ToastConsumer.propTypes = {
5959
children: PropTypes.func.isRequired,
6060
}
6161

62-
// eslint-disable-next-line react/display-name
6362
const withToast = WrappedComponent => props => (
6463
<ToastConsumer>
6564
{({ showToast, hideToast, toastState }) => (

react/components/Tooltip/Portal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { setRef } from '../utils/react'
66

77
function getContainer(container) {
88
container = typeof container === 'function' ? container() : container
9-
// eslint-disable-next-line react/no-find-dom-node
109
return ReactDOM.findDOMNode(container)
1110
}
1211

styleguide.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable import/unambiguous */
21
const path = require('path')
32

43
const webpackConfig = require('./config/webpack.config.js')

styleguide.styles.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable import/unambiguous */
21
const config = require('vtex-tachyons/config.json')
32

43
module.exports = {

0 commit comments

Comments
 (0)