mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-12-02 03:54:56 -05:00
fix: make EsLint run only for PrivateBin.js
This commit is contained in:
parent
1250c4009b
commit
c2c1f37885
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { defineConfig, globalIgnores } from "eslint/config";
|
||||
import globals from "globals";
|
||||
|
||||
export default defineConfig([globalIgnores(["js/*.js", "!js/privatebin.js"]), {
|
||||
export default defineConfig([globalIgnores(["./*.js", "!./privatebin.js"]), {
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.amd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue