sdadfadas

Форк
0
/
lintconf.yaml 
58 строк · 1.8 Кб
1
#
2
# Licensed to the Apache Software Foundation (ASF) under one or more
3
# contributor license agreements.  See the NOTICE file distributed with
4
# this work for additional information regarding copyright ownership.
5
# The ASF licenses this file to You under the Apache License, Version 2.0
6
# (the "License"); you may not use this file except in compliance with
7
# the License.  You may obtain a copy of the License at
8
#
9
#    http://www.apache.org/licenses/LICENSE-2.0
10
#
11
# Unless required by applicable law or agreed to in writing, software
12
# distributed under the License is distributed on an "AS IS" BASIS,
13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
16
#
17
---
18
rules:
19
  braces:
20
    min-spaces-inside: 0
21
    max-spaces-inside: 1
22
    min-spaces-inside-empty: -1
23
    max-spaces-inside-empty: -1
24
  brackets:
25
    min-spaces-inside: -1
26
    max-spaces-inside: -1
27
    min-spaces-inside-empty: -1
28
    max-spaces-inside-empty: -1
29
  colons:
30
    max-spaces-before: 0
31
    max-spaces-after: 1
32
  commas:
33
    max-spaces-before: 0
34
    min-spaces-after: 1
35
    max-spaces-after: 1
36
  comments:
37
    require-starting-space: false
38
    min-spaces-from-content: -1
39
  document-end: disable
40
  document-start: disable # No --- to start a file
41
  empty-lines:
42
    max: 2
43
    max-start: 0
44
    max-end: 0
45
  hyphens:
46
    max-spaces-after: 1
47
  indentation:
48
    spaces: consistent
49
    indent-sequences: whatever # - list indentation will handle both indentation and without
50
    check-multi-line-strings: false
51
  key-duplicates: enable
52
  line-length: disable # Lines can be any length
53
  new-line-at-end-of-file: enable
54
  new-lines:
55
    type: unix
56
  trailing-spaces: enable
57
  truthy:
58
    level: warning
59

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.