https://github.com/mcnuttandrew/no-grammar-supplement
Raw File
Tip revision: 57d704e8ca05108db3526b7181d70fa33add3519 authored by Cameron Yick on 13 December 2023, 03:03:53 UTC
fix(docs): Update typos in public copy (#10)
Tip revision: 57d704e
.eslintrc.js
module.exports = {
  env: {
    browser: true,
    es2021: true
  },
  extends: ['@sveltejs', 'eslint:recommended', 'plugin:@typescript-eslint/recommended'],
  overrides: [
    {
      files: ['**/*.svelte'],
      processor: 'svelte3/svelte3'
    }
  ],
  parser: '@typescript-eslint/parser',
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module'
  },
  plugins: ['svelte3', '@typescript-eslint'],
  rules: {
    '@typescript-eslint/no-empty-function': 0,
    '@typescript-eslint/array-type': 0
  },
  settings: {
    // "svelte3/typescript": () => require("typescript"), // pass the TypeScript package to the Svelte plugin
    // OR
    'svelte3/typescript': true // load TypeScript as peer dependency
    // ...
  }
};
back to top