|
| 1 | +--- |
| 2 | + |
| 3 | +# Copyright 2025 Cloudera, Inc. All Rights Reserved. |
| 4 | +# |
| 5 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +# you may not use this file except in compliance with the License. |
| 7 | +# 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 | +extends: default |
| 18 | +rules: |
| 19 | + comments: |
| 20 | + # https://github.com/prettier/prettier/issues/6780 |
| 21 | + min-spaces-from-content: 1 |
| 22 | + # https://github.com/adrienverge/yamllint/issues/384 |
| 23 | + comments-indentation: false |
| 24 | + document-start: disable |
| 25 | + # 160 chars was the default used by old E204 rule, but |
| 26 | + # you can easily change it or disable in your .yamllint file. |
| 27 | + line-length: |
| 28 | + max: 200 |
| 29 | + # We are adding an extra space inside braces as that's how prettier does it |
| 30 | + # and we are trying not to fight other linters. |
| 31 | + braces: |
| 32 | + min-spaces-inside: 0 # yamllint defaults to 0 |
| 33 | + max-spaces-inside: 1 # yamllint defaults to 0 |
| 34 | + # key-duplicates: |
| 35 | + # forbid-duplicated-merge-keys: true # not enabled by default |
| 36 | + octal-values: |
| 37 | + forbid-implicit-octal: true # yamllint defaults to false |
| 38 | + forbid-explicit-octal: true # yamllint defaults to false |
| 39 | + # quoted-strings: |
| 40 | + # quote-type: double |
| 41 | + # required: only-when-needed |
0 commit comments