build(npm): add linters and formatters
This commit is contained in:
parent
9f25118fb4
commit
822d18a381
4 changed files with 1692 additions and 31 deletions
12
eslint.config.js
Normal file
12
eslint.config.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import pluginJs from "@eslint/js";
|
||||
import globals from "globals";
|
||||
|
||||
export default [
|
||||
pluginJs.configs.recommended,
|
||||
{
|
||||
languageOptions: { globals: globals.browser },
|
||||
},
|
||||
{
|
||||
ignores: ["public/", "public-dev/"],
|
||||
},
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue