Skip to content

Commit

Permalink
Added eslint-plugin-yml as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Nov 13, 2024
1 parent caf39b8 commit cdb851b
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import js from '@eslint/js'
import globals from 'globals'
import json from '@eslint/json'
import markdown from '@eslint/markdown'
import eslintPluginYml from 'eslint-plugin-yml'

export default [
{
Expand Down Expand Up @@ -35,5 +36,6 @@ export default [
'markdown/heading-increment': 'off', // allow headings to skip levels
'markdown/fenced-code-language': 'off' // allow code blocks w/ no language specified
}
}
},
{ files: ['**/*.yaml, **/*.yml'], ...eslintPluginYml.configs['flat/standard'][1] }
]
91 changes: 91 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@eslint/json": "^0.6.0",
"@eslint/markdown": "^6.2.1",
"eslint": "^9.14.0",
"eslint-plugin-yml": "^1.15.0",
"husky": "^9.1.6"
}
}

0 comments on commit cdb851b

Please sign in to comment.