Skip to content

[ZEPPELIN-3245] checkstyle/eslintrc for zeppelin-web (JavaScript)#2804

Closed
prabhjyotsingh wants to merge 6 commits intoapache:masterfrom
prabhjyotsingh:discuss/eslint_semi_rule
Closed

[ZEPPELIN-3245] checkstyle/eslintrc for zeppelin-web (JavaScript)#2804
prabhjyotsingh wants to merge 6 commits intoapache:masterfrom
prabhjyotsingh:discuss/eslint_semi_rule

Conversation

@prabhjyotsingh
Copy link
Contributor

@prabhjyotsingh prabhjyotsingh commented Feb 15, 2018

What is this PR for?

Have added this PR to add a rule in eslinerc to have semicolons in javascript source

What type of PR is it?

[Improvement | Refactoring]

What is the Jira issue?

How should this be tested?

cd zeppelin-web
npm install (or yarn install if you have yarn)
npm run lint:once

@prabhjyotsingh
Copy link
Contributor Author

cc: @1ambda @AhyoungRyu @r-kamath

@mebelousov
Copy link
Contributor

@prabhjyotsingh it's great that one of PMC file such PR.
A lot of tests show that JS works faster without syntax warnings.
👍

@prabhjyotsingh
Copy link
Contributor Author

@mebelousov I did not follow your comment.

@felixcheung
Copy link
Member

should this go to dev@?

@prabhjyotsingh prabhjyotsingh changed the title [DISCUSS] semicolons in javascript [ZEPPELIN-3245] checkstyle/eslintrc for zeppelin-web (JavaScript) Feb 19, 2018
@prabhjyotsingh prabhjyotsingh force-pushed the discuss/eslint_semi_rule branch from 1387377 to 14e90bc Compare February 19, 2018 09:32
@r-kamath
Copy link
Member

@prabhjyotsingh please resolve conflicts. Otherwise LGTM.

@prabhjyotsingh prabhjyotsingh force-pushed the discuss/eslint_semi_rule branch from 14e90bc to 9a43465 Compare February 21, 2018 15:15
@prabhjyotsingh
Copy link
Contributor Author

Thanks for the review will merge this if no more discussion.

@prabhjyotsingh
Copy link
Contributor Author

Will merge this to branch-0.8 as well, so that if there are any backports they are convenient.

Change-Id: If0356e494152c1beb8b8cef666c95d448a490749
Change-Id: If488e5a7faf68fea9c0f463de7aba1dae0607b0d
Change-Id: If9727c13bf40be52cbe40b5c7c888c99af739e9b
Change-Id: I8af5179afcd63377a4bd76486f7e30e29a97a30b
@prabhjyotsingh prabhjyotsingh force-pushed the discuss/eslint_semi_rule branch from a5c9db6 to 2d57ba3 Compare February 23, 2018 03:10
Change-Id: I8bb3b0d81043816ce4b32de5c64859544c253ddf
Change-Id: Ibff527fdf3ab3bf91a109c56629db47e54afdcfb
@asfgit asfgit closed this in ea2c944 Feb 23, 2018
asfgit pushed a commit that referenced this pull request Feb 23, 2018
Have added this PR to add a rule in eslinerc to have semicolons in javascript source

[Improvement | Refactoring]

* [ZEPPELIN-3245](https://issues.apache.org/jira/browse/ZEPPELIN-3245)

```
cd zeppelin-web
npm install (or yarn install if you have yarn)
npm run lint:once
```

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>

Closes #2804 from prabhjyotsingh/discuss/eslint_semi_rule and squashes the following commits:

4506f24 [Prabhjyot Singh] eslint rule for space
bc43d68 [Prabhjyot Singh] merge `[ZEPPELIN-3177]Resize charts on paragaph resize` changes
2d57ba3 [Prabhjyot Singh] fix failing WEB_E2E="true"
f23cb61 [Prabhjyot Singh] remove `"linebreak-style": 0,` and `"no-use-before-define": 0,`
39f37fb [Prabhjyot Singh] remove "standard" from eslint
6edac44 [Prabhjyot Singh] add `"semi": [2, "always"]` rule in eslinerc

Change-Id: I91546ea973c2c9e7540da1586d6329fc93088eb0
(cherry picked from commit ea2c944)
Signed-off-by: Prabhjyot Singh <prabhjyotsingh@gmail.com>
jwagun pushed a commit to jwagun/zeppelin that referenced this pull request Apr 23, 2018
Have added this PR to add a rule in eslinerc to have semicolons in javascript source

[Improvement | Refactoring]

* [ZEPPELIN-3245](https://issues.apache.org/jira/browse/ZEPPELIN-3245)

```
cd zeppelin-web
npm install (or yarn install if you have yarn)
npm run lint:once
```

Author: Prabhjyot Singh <prabhjyotsingh@gmail.com>

Closes apache#2804 from prabhjyotsingh/discuss/eslint_semi_rule and squashes the following commits:

4506f24 [Prabhjyot Singh] eslint rule for space
bc43d68 [Prabhjyot Singh] merge `[ZEPPELIN-3177]Resize charts on paragaph resize` changes
2d57ba3 [Prabhjyot Singh] fix failing WEB_E2E="true"
f23cb61 [Prabhjyot Singh] remove `"linebreak-style": 0,` and `"no-use-before-define": 0,`
39f37fb [Prabhjyot Singh] remove "standard" from eslint
6edac44 [Prabhjyot Singh] add `"semi": [2, "always"]` rule in eslinerc

Change-Id: I91546ea973c2c9e7540da1586d6329fc93088eb0
@prabhjyotsingh prabhjyotsingh deleted the discuss/eslint_semi_rule branch May 2, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants