Re: [pgadmin4][patch] Use ESLinter options instead of using Javascript

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
Cc: Anthony Emengo <aemengo(at)pivotal(dot)io>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin4][patch] Use ESLinter options instead of using Javascript
Date: 2018-05-17 06:23:58
Message-ID: CAG7mmoxNH5pk7+rsDhd=xh9s1x2-9oc1VwTzGeA-0sEWJKVs9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Thu, May 17, 2018 at 11:05 AM, Khushboo Vashi <
khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:

> Hi Anthony,
>
> The code looks good to me and working fine.
>
> Thanks,
> Khushboo
>
>
> On Wed, May 16, 2018 at 9:23 PM, Anthony Emengo <aemengo(at)pivotal(dot)io>
> wrote:
>
>> Hey all, we'd definitely like some feedback on this patch. Does does it
>> not apply cleanly? Do we need to resend it?
>>
>> Thanks
>> Anthony
>>
>> On Mon, May 14, 2018 at 3:47 PM Anthony Emengo <aemengo(at)pivotal(dot)io>
>> wrote:
>>
>>> Apologies, here's a redo that should apply cleanly on top of master
>>>
>>> Anthony && Joao
>>>
>>> On Mon, May 14, 2018 at 3:25 PM Anthony Emengo <aemengo(at)pivotal(dot)io>
>>> wrote:
>>>
>>>> Hi Hackers,
>>>>
>>>> Attached you can find a patch that changes the way we are running
>>>> ESLint on the Javascript files. Instead of using Javascript we can use
>>>> ESLint parameters to archive the same goal.
>>>>
>>> Thanks - committed!

>
>>>> In the future this will also allow us to use the rest of the cli
>>>> parameters like (--fix and others...)
>>>>
>>> We can still use other command line options like this:

$ *yarn run linter --fix webpack.config.js*
yarn run v1.6.0
$ yarn eslint --no-eslintrc -c .eslintrc.js --ext .js --ext .jsx .
--fix webpack.config.js
$ /XXX/pgAdmin4/web/node_modules/.bin/eslint --no-eslintrc -c
.eslintrc.js --ext .js --ext .jsx . --fix webpack.config.js
✨ Done in 6.48s.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com/>

*http://www.linkedin.com/in/asheshvashi
<http://www.linkedin.com/in/asheshvashi>*

>
>>>> Thanks
>>>> Anthony && Joao
>>>>
>>>
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Ashesh Vashi 2018-05-17 07:24:50 Re: [pgadmin] Prefer CSS selectors to XPath selectors in feature tests
Previous Message Ashesh Vashi 2018-05-17 06:23:52 pgAdmin 4 commit: Using the '.eslintignore' config file for excluding t