mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 23:15:13 +00:00
fix eslint errors in frontend / frontend-embed
This commit is contained in:
parent
2c8af72168
commit
6c30c94b92
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue