Commit graph

89 commits

Author SHA1 Message Date
sstern 7977563f0f Add sitespeed-result to lint ignore 2021-07-12 14:35:23 -07:00
Alex Kalderimis baedeb4ee8 Do not commit the generated schema
We do not use it, it can be replaced by introspection queries, and
it complicates development.

The `gitlab:graphql:schema:dump` rake task now generates the file
in the `./tmp` directory.

The documentation is updated to mention the impact on front-end
development.
2021-02-19 11:32:13 +00:00
Lukas Eipert 6d5b9fd5cb Move prettier related yarn scripts to the lint scope
Similar to `eslint`, this moves our `prettier` related scripts to the
`lint` scope. We keep the old scripts in place and error out
immediately, hinting the user to the new scripts.

Thanks to the introduced `scripts/frontend/execute-on-staged-files.sh`
and the fact that `prettier` itself has implemented better command line
interfaces (`--check` and `--write`) since we introduced it, we are able
to remove our home made node script in favor of those.

Now the scripts carry the following names:

 - `prettier-all` => `lint:prettier`
 - `prettier-all-save` => `lint:prettier:fix`
 - `prettier-staged` => `lint:prettier:staged`
 - `prettier-staged-save`: `lint:prettier:staged:fixed`
2021-02-16 17:09:45 +01:00
Lukas Eipert 72e59b2626 Remove files from the prettier ignore file
These have been fixed in several merge requests and now we can stop
ignoring them.
2020-12-23 22:57:16 +01:00
Mike Greiling 8639c77895 Merge branch 'leipert-prettier-arrow-parens-3' into 'master'
Format files with prettier arrowParens [3/15]

See merge request gitlab-org/gitlab!50528
2020-12-23 20:59:00 +00:00
Paul Slaughter ac3329576c Merge branch 'leipert-prettier-arrow-parens-8' into 'master'
Format files with prettier arrowParens [8/15]

See merge request gitlab-org/gitlab!50534
2020-12-23 20:56:05 +00:00
Mike Greiling 8675dcbc91 Merge branch 'leipert-prettier-arrow-parens-12' into 'master'
Format files with prettier arrowParens [12/15]

See merge request gitlab-org/gitlab!50540
2020-12-23 20:55:01 +00:00
Nathan Friend b1f29131f4 Merge branch 'leipert-prettier-arrow-parens-15' into 'master'
Format files with prettier arrowParens [15/15]

See merge request gitlab-org/gitlab!50544
2020-12-23 20:16:52 +00:00
Mike Greiling af616eea66 Merge branch 'leipert-prettier-arrow-parens-5' into 'master'
Format files with prettier arrowParens [5/15]

See merge request gitlab-org/gitlab!50531
2020-12-23 20:15:47 +00:00
Lukas 'Eipi' Eipert 6456cf8845 Merge branch 'master' into 'leipert-prettier-arrow-parens-12'
# Conflicts:
#   .prettierignore
2020-12-23 20:06:45 +00:00
Paul Slaughter 43b4f5b4e4 Merge branch 'leipert-prettier-arrow-parens-13' into 'master'
Format files with prettier arrowParens [13/15]

See merge request gitlab-org/gitlab!50542
2020-12-23 20:02:08 +00:00
Lukas 'Eipi' Eipert 063290783c Merge branch 'master' into 'leipert-prettier-arrow-parens-8'
# Conflicts:
#   .prettierignore
2020-12-23 19:50:47 +00:00
Lukas 'Eipi' Eipert 73993b4315 Merge branch 'master' into 'leipert-prettier-arrow-parens-3'
# Conflicts:
#   .prettierignore
2020-12-23 19:49:43 +00:00
Paul Slaughter 0e800cbb7a Merge branch 'leipert-prettier-arrow-parens-2' into 'master'
Format files with prettier arrowParens [2/15]

See merge request gitlab-org/gitlab!50527
2020-12-23 19:41:20 +00:00
Mike Greiling aaa35d8fc3 Merge branch 'leipert-prettier-arrow-parens-11' into 'master'
Format files with prettier arrowParens [11/15]

See merge request gitlab-org/gitlab!50538
2020-12-23 19:36:20 +00:00
Lukas Eipert 85af3689ee Run prettier on 17 files - 73 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:35:06 +01:00
Lukas Eipert 325fb305ea Run prettier on 31 files - 72 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:34:47 +01:00
Lukas Eipert e37a6d7aa6 Run prettier on 32 files - 71 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:34:29 +01:00
Lukas Eipert dff561fa8c Run prettier on 35 files - 70 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:34:12 +01:00
Lukas Eipert 19b0ba7265 Run prettier on 31 files - 69 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:33:49 +01:00
Nathan Friend 13130993aa Merge branch 'leipert-prettier-arrow-parens-10' into 'master'
Format files with prettier arrowParens [10/15]

See merge request gitlab-org/gitlab!50537
2020-12-23 19:29:15 +00:00
Lukas Eipert 7c1fa749ef Run prettier on 37 files - 63 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:22:02 +01:00
Lukas Eipert 5c23cb94c5 Run prettier on 44 files - 62 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:21:41 +01:00
Lukas Eipert c35cc92c80 Run prettier on 33 files - 61 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:21:18 +01:00
Lukas Eipert 280a79c0ec Run prettier on 31 files - 60 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:21:01 +01:00
Lukas Eipert e94556e9f9 Run prettier on 32 files - 59 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:20:43 +01:00
Lukas Eipert b6a8d9baf7 Run prettier on 44 files - 58 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:18:15 +01:00
Lukas Eipert 9180eaee4d Run prettier on 31 files - 57 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:18:14 +01:00
Lukas Eipert 0fdc1fc038 Run prettier on 32 files - 56 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:18:13 +01:00
Lukas Eipert 157e117fcb Run prettier on 31 files - 55 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:18:13 +01:00
Lukas Eipert 7cfe360c9e Run prettier on 32 files - 54 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 20:18:12 +01:00
Lukas Eipert e3aca8c8f8 Run prettier on 33 files - 53 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:56:09 +01:00
Lukas Eipert 3b1593f2d5 Run prettier on 29 files - 52 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:49:49 +01:00
Lukas Eipert 39bb37cc0d Run prettier on 31 files - 51 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:49:16 +01:00
Lukas Eipert cdc1a4a8ee Run prettier on 31 files - 50 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:48:18 +01:00
Lukas Eipert 87ad67fef5 Run prettier on 41 files - 49 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:47:45 +01:00
Lukas Eipert 99bff44502 Run prettier on 31 files - 48 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:43:55 +01:00
Lukas Eipert d1b6d05c08 Run prettier on 31 files - 47 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:43:14 +01:00
Lukas Eipert 557c22a824 Run prettier on 32 files - 46 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:42:39 +01:00
Lukas Eipert 7f4e951ce8 Run prettier on 31 files - 45 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:42:08 +01:00
Lukas Eipert 7dae714f23 Run prettier on 29 files - 44 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:41:25 +01:00
Lukas Eipert cfb3682845 Run prettier on 31 files - 38 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:24:05 +01:00
Lukas Eipert aa653d5a38 Run prettier on 32 files - 37 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:23:47 +01:00
Lukas Eipert 96ed4677c6 Run prettier on 31 files - 36 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:23:25 +01:00
Lukas Eipert 72c11eb5a1 Run prettier on 31 files - 35 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:23:05 +01:00
Lukas Eipert b48e14b89b Run prettier on 32 files - 34 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:22:48 +01:00
Lukas Eipert d46581c1fb Run prettier on 31 files - 33 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:19:57 +01:00
Lukas Eipert ef02363c9c Run prettier on 31 files - 32 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:19:37 +01:00
Lukas Eipert 075a78b319 Run prettier on 36 files - 31 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:19:18 +01:00
Lukas Eipert 9f4b4de2df Run prettier on 32 files - 30 of 73
Part of our prettier migration; changing the arrow-parens style.
2020-12-23 19:18:38 +01:00