Skip to content

Commit

Permalink
Merge pull request #18032 from Prince-Mendiratta/feat/17971-enable-no…
Browse files Browse the repository at this point in the history
…-invalid-this

[NoQA] [Lint] Enable `no-invalid-this` eslint rule
  • Loading branch information
tgolen authored Apr 26, 2023
2 parents 6011531 + cf393fa commit 93a7ecd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
15 changes: 7 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"electron-builder": "23.5.0",
"electron-notarize": "^1.2.1",
"eslint": "^7.6.0",
"eslint-config-expensify": "^2.0.31",
"eslint-config-expensify": "^2.0.36",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down
2 changes: 1 addition & 1 deletion src/libs/Localize/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function translateLocal(phrase, variables) {
* @return {String}
*/
function arrayToString(anArray) {
const and = this.translateLocal('common.and');
const and = translateLocal('common.and');
let aString = '';
if (_.size(anArray) === 1) {
aString = anArray[0];
Expand Down
6 changes: 2 additions & 4 deletions src/pages/SetPasswordPage.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import React, {Component} from 'react';
import {
SafeAreaView,
View,
} from 'react-native';
import {View} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import PropTypes from 'prop-types';
import {withOnyx} from 'react-native-onyx';
import _ from 'underscore';
Expand Down

0 comments on commit 93a7ecd

Please sign in to comment.