Skip to content

Commit

Permalink
chore: sync config files
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Apr 10, 2023
1 parent bd261ee commit 93c8e0c
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 3 deletions.
1 change: 0 additions & 1 deletion .dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ bdougie
cefc
codecov
commitlintrc
dawidd
dedupe
dessant
dohm
Expand Down
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ max_line_length = 100
[*.snap]
max_line_length = 130

# xml
[*.xml]
max_line_length = 100

# yaml
[*.yml]
max_line_length = 100
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ yarn.lock
!**/__fixtures__/**/node_modules/
!**/typings/**/dist/
!.codecov.yml
!.commitlintrc.json
!.commitlintrc.*
!.cspell.json
!.github/
!.graphqlrc.yml
Expand Down
11 changes: 10 additions & 1 deletion .eslintrc.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ const config = {
'maximum',
'minimum',
'next',
'packageManager',
'visibleName'
],
jsxTags: false
Expand Down Expand Up @@ -1128,7 +1129,11 @@ const config = {
}
},
{
files: ['.github/dependabot.yml', '.github/workflows/*.yml'],
files: [
'.github/dependabot.yml',
'.github/workflows/*.yml',
'action.yml'
],
rules: {
'yml/sort-keys': 0
}
Expand Down Expand Up @@ -1191,6 +1196,10 @@ const config = {
name: 'namepath-defining',
required: ['type']
},
packageManager: {
name: 'text',
required: ['name']
},
param: {
name: 'namepath-defining',
required: ['name', 'type']
Expand Down
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@
"editor.wordWrapColumn": 100,
"rewrap.wrappingColumn": 100
},
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml",
"editor.rulers": [100],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 100,
"rewrap.wrappingColumn": 100
},
"[yaml]": {
"editor.rulers": [
{
Expand Down Expand Up @@ -382,6 +389,11 @@
"workbench.editor.closeOnFileDelete": true,
"workbench.editor.enablePreview": false,
"workbench.iconTheme": "vscode-icons",
"xml.format.closingBracketNewLine": true,
"xml.format.maxLineWidth": 100,
"xml.format.spaceBeforeEmptyCloseTag": false,
"xml.format.splitAttributes": true,
"xml.format.splitAttributesIndentSize": 0,
"yaml.schemas": {
"https://json.schemastore.org/github-issue-config": ".github/ISSUE_TEMPLATE/config.yml",
"https://json.schemastore.org/github-workflow": ".github/workflows/*.yml"
Expand Down

0 comments on commit 93c8e0c

Please sign in to comment.