module.exports = {
    env: {
        browser: true,
        es2021: true,
    },
    extends: [
        'standard',
    ],
    parserOptions: {
        ecmaVersion: 12,
        sourceType: 'module',
    },
    plugins: [
        'svelte3',
    ],
    overrides: [
        {
            files: ['**/*.svelte'],
            processor: 'svelte3/svelte3',
            rules: {
                'import/first': ['off', 'always'],
                'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 2, maxEOF: 0 }],
            },
        },
    ],
    rules: {
        indent: ['error', 4],
    }
}

module.exports = {
    env: {
        browser: true,
        es2021: true,
    },
    extends: [
        'standard',
    ],
    parserOptions: {
        ecmaVersion: 12,
        sourceType: 'module',
    },
    plugins: [
        'svelte3',
    ],
    overrides: [
        {
            files: ['**/*.svelte'],
            processor: 'svelte3/svelte3',
            rules: {
                'import/first': ['off', 'always'],
                'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 2, maxEOF: 0 }],
            },
        },
    ],
    rules: {
        'comma-dangle': ['off', 'always'],
        'indent': ['error', 4],
        'no-console': ['warn', {}],
    }
}

Allow dangling commas and warn about console statements
eslint: Allow dangling commas and warn about console statements
