feat: add initial eslint plugin

This commit is contained in:
Ayo Ayco 2024-12-25 21:16:58 +01:00
parent 42e14b8c52
commit 8f4806820a
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,5 @@
export const globals = {
__prefix: false,
__version: false,
__assets: false,
};

View file

@ -10,6 +10,9 @@
"exports": {
".": {
"import": "./astro-sw.js"
},
"eslint-plugin-astro-sw": {
"import": "./eslint-plugin-astro-sw.js"
}
},
"main": "./astro-sw.js",