Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Remove unused var in BlockTree #1859

Closed
wants to merge 1 commit into from

Conversation

niveditc
Copy link
Contributor

@niveditc niveditc commented Sep 9, 2018

Summary

This variable is unused & caused a lint warning.

Test Plan
Old (with warning):

> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .

/Users/niveditc/draft-js/src/model/immutable/BlockTree.js
  30:7  warning  'FINGERPRINT_DELIMITER' is assigned a value but never used. Allowed unused vars must match /^_/  no-unused-vars

✖ 1 problem (0 errors, 1 warning)

New:

> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .

Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

niveditc is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@niveditc niveditc deleted the remove-unused-var branch October 15, 2018 01:13
jdecked pushed a commit to twitter-forks/draft-js that referenced this pull request Oct 9, 2019
Summary:
**Summary**

This variable is unused & caused a lint warning.

**Test Plan**
Old (with warning):
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .

/Users/niveditc/draft-js/src/model/immutable/BlockTree.js
  30:7  warning  'FINGERPRINT_DELIMITER' is assigned a value but never used. Allowed unused vars must match /^_/  no-unused-vars

✖ 1 problem (0 errors, 1 warning)
```

New:
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .
```
Pull Request resolved: facebookarchive#1859

Differential Revision: D9762873

fbshipit-source-id: 42dab26c26164d08cda8fb2875a8fa4d6d3d9f1a
alicayan008 pushed a commit to alicayan008/draft-js that referenced this pull request Jul 4, 2023
Summary:
**Summary**

This variable is unused & caused a lint warning.

**Test Plan**
Old (with warning):
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .

/Users/niveditc/draft-js/src/model/immutable/BlockTree.js
  30:7  warning  'FINGERPRINT_DELIMITER' is assigned a value but never used. Allowed unused vars must match /^_/  no-unused-vars

✖ 1 problem (0 errors, 1 warning)
```

New:
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .
```
Pull Request resolved: facebookarchive/draft-js#1859

Differential Revision: D9762873

fbshipit-source-id: 42dab26c26164d08cda8fb2875a8fa4d6d3d9f1a
aforismesen added a commit to aforismesen/draft-js that referenced this pull request Jul 12, 2024
Summary:
**Summary**

This variable is unused & caused a lint warning.

**Test Plan**
Old (with warning):
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .

/Users/niveditc/draft-js/src/model/immutable/BlockTree.js
  30:7  warning  'FINGERPRINT_DELIMITER' is assigned a value but never used. Allowed unused vars must match /^_/  no-unused-vars

✖ 1 problem (0 errors, 1 warning)
```

New:
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .
```
Pull Request resolved: facebookarchive/draft-js#1859

Differential Revision: D9762873

fbshipit-source-id: 42dab26c26164d08cda8fb2875a8fa4d6d3d9f1a
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants