| 3411 |
stevensc |
1 |
import globals from 'globals'
|
|
|
2 |
import pluginJs from '@eslint/js'
|
|
|
3 |
import pluginReact from 'eslint-plugin-react'
|
|
|
4 |
import eslintConfigPrettier from 'eslint-config-prettier'
|
|
|
5 |
|
|
|
6 |
/** @type {import('eslint').Linter.Config[]} */
|
|
|
7 |
export default [
|
|
|
8 |
{ files: ['**/*.{js,mjs,cjs,jsx}'] },
|
|
|
9 |
{ languageOptions: { globals: globals.browser } },
|
|
|
10 |
pluginJs.configs.recommended,
|
|
|
11 |
pluginReact.configs.flat.recommended,
|
|
|
12 |
eslintConfigPrettier
|
|
|
13 |
]
|