mirror of
https://github.com/garraflavatra/yeslint.git
synced 2024-11-27 23:56:27 +01:00
18 lines
461 B
JavaScript
18 lines
461 B
JavaScript
|
'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,
|
||
|
} ],
|
||
|
};
|