Skip to content

Files option not working #18327

Answered by kecrily
driesvints asked this question in Q&A
Apr 12, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

@driesvints sorry its a typo, it should be config object. like

import js from '@eslint/js'

export default [
  {
    files: ['resources/js/**/*.js', 'resources/js/**/*.vue'],
    rules: {
      ...js.configs.recommended.rules
    }
  }
]

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@driesvints
Comment options

@kecrily
Comment options

Answer selected by driesvints
@driesvints
Comment options

@kecrily
Comment options

@driesvints
Comment options

@kecrily
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants