mirror of
https://github.com/garraflavatra/yeslint.git
synced 2024-11-24 01:37:29 +01:00
24 lines
614 B
JavaScript
24 lines
614 B
JavaScript
'use strict';
|
|
|
|
const svelteConfig = require('./configs/svelte.js');
|
|
|
|
/**
|
|
* Don't import this! It is the configuration for the yeslint! code and is not
|
|
* meant to be used elsewhere. Please refer to the readme.
|
|
*
|
|
* @type {import('eslint').Linter.Config}
|
|
*/
|
|
module.exports = {
|
|
root: true,
|
|
extends: './configs/node.js',
|
|
ignorePatterns: [ '/example/wrong.*' ],
|
|
overrides: [ {
|
|
files: [ './example/*.svelte' ],
|
|
overrides: svelteConfig.overrides,
|
|
parserOptions: svelteConfig.parserOptions,
|
|
env: svelteConfig.env,
|
|
extends: svelteConfig.extends,
|
|
plugins: svelteConfig.plugins,
|
|
} ],
|
|
};
|