๐Ÿ“ฆ ionic-team / capacitor-google-maps

๐Ÿ“„ swiftlint.config.js ยท 31 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31/* eslint-disable no-undef */
module.exports = {
  included: ['${PWD}/ios/Sources', '${PWD}/ios/Tests'],
  identifier_name: {
    min_length: {
      warning: 3,
      error: 1,
    },
  },
  excluded: ['node_modules', 'ios/Pods'],
  opt_in_rules: [
    'implicitly_unwrapped_optional',
    'file_name_no_space',
    'force_unwrapping',
    'function_default_parameter_at_end',
    'lower_acl_than_parent',
    'modifier_order',
    'overridden_super_call',
    'unowned_variable_capture',
    'unused_import',
  ],
  line_length: {
    warning: 150,
    error: 300,
    ignores_function_declarations: true,
    ignores_comments: true,
    ignores_interpolated_strings: true,
    ignores_urls: true,
  },
};