mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 07:06:07 +00:00
9ba6605098
* Bump eslint-plugin-yml from 1.18.0 to 3.3.1 Bumps [eslint-plugin-yml](https://github.com/ota-meshi/eslint-plugin-yml) from 1.18.0 to 3.3.1. - [Release notes](https://github.com/ota-meshi/eslint-plugin-yml/releases) - [Changelog](https://github.com/ota-meshi/eslint-plugin-yml/blob/master/CHANGELOG.md) - [Commits](https://github.com/ota-meshi/eslint-plugin-yml/compare/v1.18.0...v3.3.1) --- updated-dependencies: - dependency-name: eslint-plugin-yml dependency-version: 3.3.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Help Dependabot --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
28 lines
497 B
JavaScript
28 lines
497 B
JavaScript
import js from '@eslint/js'
|
|
import globals from 'globals'
|
|
import yml from 'eslint-plugin-yml'
|
|
import * as yamlParser from 'yaml-eslint-parser'
|
|
|
|
export default [
|
|
js.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module',
|
|
globals: globals.node,
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.yml'],
|
|
languageOptions: {
|
|
parser: yamlParser,
|
|
},
|
|
plugins: {
|
|
yml,
|
|
},
|
|
rules: {
|
|
...yml.configs.recommended.rules,
|
|
},
|
|
},
|
|
]
|