Created
January 28, 2025 19:26
-
-
Save frontandrews/8ea3d22d2824718403f87df4eed63e37 to your computer and use it in GitHub Desktop.
Simple eslint template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import eslint from '@eslint/js'; | |
import tseslint from 'typescript-eslint'; | |
import pluginVue from 'eslint-plugin-vue'; | |
export default tseslint.config( | |
eslint.configs.recommended, | |
...tseslint.configs.recommended, | |
...pluginVue.configs['flat/recommended'], | |
{ | |
ignores: ['node_modules', 'build'], | |
languageOptions: { | |
parserOptions: { | |
parser: tseslint.parser, | |
extraFileExtensions: ['.vue'] | |
}, | |
}, | |
rules: { | |
// Custom rules | |
}, | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment