Skip to content

Conversation

jetfuel
Copy link
Collaborator

@jetfuel jetfuel commented Apr 5, 2018

Strongly recommended rules applied.

Hi guys. Here is the phrase 1 of ESLint PR to address #364

There are many files changed, but you really just need to check the following two.
frontend/.eslintrc.js - This is the ESLint config files
frontend/package.json - We need to install the package via npm

I haven't tried to link the eslint to pre-commit. I will create a follow up to include that. Also it will take some time to update all the code.

Meanwhile, if you wish to manually check the format. Use the following two commands

node_modules/.bin/eslint --fix src
node_modules/.bin/eslint --fix src --ext .vue

Strongly recommended rules applied.
@jetfuel jetfuel self-assigned this Apr 5, 2018
daming-lu
daming-lu previously approved these changes Apr 5, 2018
nickyfantasy
nickyfantasy previously approved these changes Apr 5, 2018
@jetfuel jetfuel dismissed stale reviews from nickyfantasy and daming-lu via 42cafa5 April 5, 2018 23:35
name: 'App',
components: {
AppMenu
AppMenu,
Copy link
Contributor

Choose a reason for hiding this comment

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

im surprised the correct standard is to add comma in everything D:

@jetfuel jetfuel merged commit db62d42 into PaddlePaddle:develop Apr 6, 2018
@jetfuel jetfuel deleted the eslint_formatter branch April 6, 2018 00:15
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.

3 participants