yeslint/.eslintrc.js

18 lines
461 B
JavaScript
Raw Normal View History

2023-07-27 21:56:03 +02:00
'use strict';
const svelteConfig = require('./configs/svelte.js');
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: './configs/node.js',
ignorePatterns: [ '/example/wrong.*' ],
overrides: [ {
files: [ './example/correct.svelte' ],
overrides: svelteConfig.overrides,
parserOptions: svelteConfig.parserOptions,
env: svelteConfig.env,
extends: svelteConfig.extends,
plugins: svelteConfig.plugins,
} ],
};