gci linter

This commit is contained in:
Mike Farah
2021-11-26 20:24:21 +11:00
parent 8fdf6414c1
commit 8c5d1e0252
8 changed files with 4 additions and 9 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ will output
a: frog
```
## Two non existant keys are equal
## Two non existent keys are equal
Given a sample.yml file of:
```yaml
a: frog
+1 -1
View File
@@ -209,7 +209,7 @@ will output
```
## Test using regex
Like jq'q equivalant, this works like match but only returns true/false instead of full match details
Like jq'q equivalent, this works like match but only returns true/false instead of full match details
Given a sample.yml file of:
```yaml
-1
View File
@@ -2,7 +2,6 @@ package yqlib
import (
"fmt"
"strconv"
yaml "gopkg.in/yaml.v3"
-2
View File
@@ -1,8 +1,6 @@
package yqlib
import (
// "bufio"
// "bytes"
"bufio"
"bytes"
"container/list"
+1 -2
View File
@@ -1,11 +1,10 @@
package yqlib
import (
"container/list"
"fmt"
"strconv"
"container/list"
"github.com/jinzhu/copier"
yaml "gopkg.in/yaml.v3"
)
-1
View File
@@ -2,7 +2,6 @@ package yqlib
import (
"fmt"
"strconv"
"gopkg.in/yaml.v3"