Skip to content

ci(yamllint): add rule empty-values & use new yaml-files setting#121

Merged
aboe76 merged 1 commit intosaltstack-formulas:masterfrom
myii:chore/standardise-structure
Sep 12, 2019
Merged

ci(yamllint): add rule empty-values & use new yaml-files setting#121
aboe76 merged 1 commit intosaltstack-formulas:masterfrom
myii:chore/standardise-structure

Conversation

@myii
Copy link
Contributor

@myii myii commented Sep 10, 2019

openvpn-formula$ yamllint -s .
./pillar.example
  81:23     error    empty value in block mapping  (empty-values)
  83:16     error    empty value in block mapping  (empty-values)
  114:21    error    empty value in block mapping  (empty-values)
  117:20    error    empty value in block mapping  (empty-values)
  124:21    error    empty value in block mapping  (empty-values)
  151:19    error    empty value in block mapping  (empty-values)
  152:19    error    empty value in block mapping  (empty-values)
  166:14    error    empty value in block mapping  (empty-values)
  169:21    error    empty value in block mapping  (empty-values)
  172:31    error    empty value in block mapping  (empty-values)
  212:14    error    empty value in block mapping  (empty-values)
  214:16    error    empty value in block mapping  (empty-values)
  219:21    error    empty value in block mapping  (empty-values)
  220:29    error    empty value in block mapping  (empty-values)
  221:14    error    empty value in block mapping  (empty-values)
  224:19    error    empty value in block mapping  (empty-values)
  225:19    error    empty value in block mapping  (empty-values)
  226:24    error    empty value in block mapping  (empty-values)
  228:28    error    empty value in block mapping  (empty-values)
  285:15    error    empty value in block mapping  (empty-values)
  286:12    error    empty value in block mapping  (empty-values)
  287:18    error    empty value in block mapping  (empty-values)
  296:20    error    empty value in block mapping  (empty-values)

./openvpn/defaults.yaml
  14:12     error    empty value in block mapping  (empty-values)

@myii myii changed the title ci(yamllint): add rule empty-values & use new yaml-files setting WIP: ci(yamllint): add rule empty-values & use new yaml-files setting Sep 10, 2019
@myii
Copy link
Contributor Author

myii commented Sep 10, 2019

Need to fix before merging:

        yamllint:
          rules:
            empty-values:
              ignore:
                - openvpn/defaults.yaml
                - pillar.example

* Semi-automated using myii/ssf-formula#27
* Fix errors shown below:

```bash
openvpn-formula$ yamllint -s .
./pillar.example
  81:23     error    empty value in block mapping  (empty-values)
  83:16     error    empty value in block mapping  (empty-values)
  114:21    error    empty value in block mapping  (empty-values)
  117:20    error    empty value in block mapping  (empty-values)
  124:21    error    empty value in block mapping  (empty-values)
  151:19    error    empty value in block mapping  (empty-values)
  152:19    error    empty value in block mapping  (empty-values)
  166:14    error    empty value in block mapping  (empty-values)
  169:21    error    empty value in block mapping  (empty-values)
  172:31    error    empty value in block mapping  (empty-values)
  212:14    error    empty value in block mapping  (empty-values)
  214:16    error    empty value in block mapping  (empty-values)
  219:21    error    empty value in block mapping  (empty-values)
  220:29    error    empty value in block mapping  (empty-values)
  221:14    error    empty value in block mapping  (empty-values)
  224:19    error    empty value in block mapping  (empty-values)
  225:19    error    empty value in block mapping  (empty-values)
  226:24    error    empty value in block mapping  (empty-values)
  228:28    error    empty value in block mapping  (empty-values)
  285:15    error    empty value in block mapping  (empty-values)
  286:12    error    empty value in block mapping  (empty-values)
  287:18    error    empty value in block mapping  (empty-values)
  296:20    error    empty value in block mapping  (empty-values)

./openvpn/defaults.yaml
  14:12     error    empty value in block mapping  (empty-values)
```
@myii myii force-pushed the chore/standardise-structure branch from 3c0a44f to a437b3b Compare September 10, 2019 22:45
@myii myii changed the title WIP: ci(yamllint): add rule empty-values & use new yaml-files setting ci(yamllint): add rule empty-values & use new yaml-files setting Sep 10, 2019
@myii
Copy link
Contributor Author

myii commented Sep 10, 2019

Fixed as shown in the updated first comment.

@aboe76 aboe76 merged commit f458f58 into saltstack-formulas:master Sep 12, 2019
@saltstack-formulas-travis

🎉 This PR is included in version 0.15.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants