Loggest thy stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
482 B

3 years ago
  1. module.exports = {
  2. root: true,
  3. parser: '@typescript-eslint/parser',
  4. extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
  5. plugins: ['svelte3', '@typescript-eslint'],
  6. ignorePatterns: ['*.cjs'],
  7. overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
  8. settings: {
  9. 'svelte3/typescript': () => require('typescript')
  10. },
  11. parserOptions: {
  12. sourceType: 'module',
  13. ecmaVersion: 2020
  14. },
  15. env: {
  16. browser: true,
  17. es2017: true,
  18. node: true
  19. }
  20. };