1. 17 Apr, 2019 2 commits
  2. 12 Apr, 2019 1 commit
  3. 08 Apr, 2019 2 commits
  4. 20 Mar, 2019 1 commit
  5. 11 Mar, 2019 2 commits
  6. 10 Mar, 2019 1 commit
  7. 06 Mar, 2019 2 commits
  8. 05 Mar, 2019 2 commits
  9. 04 Mar, 2019 12 commits
  10. 03 Mar, 2019 1 commit
  11. 28 Feb, 2019 8 commits
    • Florian Müllner's avatar
      ci: Switch to extension-ci image · 55ecd393
      Florian Müllner authored
      gnome-shell now provides a docker image with useful tools for extension CI;
      as it contains everything we need, we can speed up CI by not running the
      package manager.
      
      !58
      55ecd393
    • Florian Müllner's avatar
      style: Use single-quotes for translated strings · d83d6e85
      Florian Müllner authored
      The coding style of using double quotes for translatable strings
      and single quotes otherwise is unnecessarily complex and cannot
      be enforced with an eslint rule.
      
      Simply use single quotes consistently for all strings.
      
      !57
      d83d6e85
    • Florian Müllner's avatar
      style: Change indentation style of object literals · db35d7ae
      Florian Müllner authored
      Instead of keeping the first property on the same line as the opening
      brace and aligning the properties, use a four-space indent. This brings
      us closer to gjs' coding style, and as a bonus helps keeping lines in
      the soft 80 character limit.
      
      !57
      db35d7ae
    • Florian Müllner's avatar
      style: Use a consistent style for array literals · d34b5030
      Florian Müllner authored
      Most array literals already use a four-space indent, except the ones in
      GObject metainfo and function parameters. Reindent those as well to make
      the style consistent and bring it closer to gjs' coding style.
      
      !57
      d34b5030
    • Florian Müllner's avatar
      style: Stop using braces for single-line arrow functions · 7f8f1234
      Florian Müllner authored
      Braces are optional for single-line arrow functions, but there's a
      subtle difference:
      Without braces, the expression is implicitly used as return value; with
      braces, the function returns nothing unless there's an explicit return.
      
      We currently reflect that in our style by only omitting braces when the
      function is expected to have a return value, but that's not very obvious,
      not an important differentiation to make, and not easy to express in an
      automatic rule.
      
      So just omit braces consistently as mandated by gjs' coding style.
      
      !57
      7f8f1234
    • Florian Müllner's avatar
      style: Don't exempt ternary expressions from indent rule · 9b25a227
      Florian Müllner authored
      It turns out we can comply with gjs' coding style and still align the
      branches if line breaks are required, so do that to reduce diversion
      from the canonical GNOME style.
      
      !57
      9b25a227
    • Florian Müllner's avatar
      lint: Remove unused rules · 78580bc3
      Florian Müllner authored
      We picked those up from Polari, which had those for
      
       - object arrays:
          let foo = [
              { bar: 42,
                quz: true },
              { bar: 23,
                quz: false }
          ];
      
       - "enums":
      
          let Options = {
              ONE:   0,
              TWO:   1,
              THREE: 2
          };
      
      We don't have either of those, so drop the rules to minimise divergence
      with gjs.
      
      !57
      78580bc3
    • Florian Müllner's avatar
      lint: Restrict deprecated Lang API · b50074fd
      Florian Müllner authored
      Now that we moved to ES standard replacements, let's make sure they
      don't creep back in accidentally.
      
      !57
      b50074fd
  12. 21 Feb, 2019 2 commits
  13. 20 Feb, 2019 1 commit
  14. 16 Feb, 2019 1 commit
  15. 15 Feb, 2019 2 commits