fix eslint errors in frontend / frontend-embed
This commit is contained in:
parent
2c8af72168
commit
6c30c94b92
@ -8,12 +8,12 @@ import sharedConfig from '../shared/eslint.config.js';
|
|||||||
export default [
|
export default [
|
||||||
...sharedConfig,
|
...sharedConfig,
|
||||||
{
|
{
|
||||||
files: ['src/**/*.vue'],
|
files: ['{src,test,js,@types}/**/*.vue'],
|
||||||
...pluginMisskey.configs.typescript,
|
...pluginMisskey.configs.typescript,
|
||||||
},
|
},
|
||||||
...pluginVue.configs['flat/recommended'],
|
...pluginVue.configs['flat/recommended'],
|
||||||
{
|
{
|
||||||
files: ['src/**/*.{ts,vue}'],
|
files: ['{src,test,js,@types}/**/*.{ts,vue}'],
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
globals: {
|
globals: {
|
||||||
...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),
|
...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),
|
||||||
|
@ -8,12 +8,12 @@ import sharedConfig from '../shared/eslint.config.js';
|
|||||||
export default [
|
export default [
|
||||||
...sharedConfig,
|
...sharedConfig,
|
||||||
{
|
{
|
||||||
files: ['src/**/*.vue'],
|
files: ['{src,test,js,@types}/**/*.vue'],
|
||||||
...pluginMisskey.configs.typescript,
|
...pluginMisskey.configs.typescript,
|
||||||
},
|
},
|
||||||
...pluginVue.configs['flat/recommended'],
|
...pluginVue.configs['flat/recommended'],
|
||||||
{
|
{
|
||||||
files: ['src/**/*.{ts,vue}'],
|
files: ['{src,test,js,@types}/**/*.{ts,vue}'],
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
globals: {
|
globals: {
|
||||||
...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),
|
...Object.fromEntries(Object.entries(globals.node).map(([key]) => [key, 'off'])),
|
||||||
|
Loading…
Reference in New Issue
Block a user