feat: initial structure
This commit is contained in:
commit
6f361dd723
7 changed files with 3199 additions and 0 deletions
22
eslint.config.cjs
Normal file
22
eslint.config.cjs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
const js = require("@eslint/js")
|
||||
|
||||
module.exports = [
|
||||
js.configs.recommended,
|
||||
{
|
||||
files: ["**/*.js"],
|
||||
languageOptions: {
|
||||
ecmaVersion: 2022,
|
||||
sourceType: "commonjs",
|
||||
globals: {
|
||||
console: "readonly",
|
||||
require: "readonly",
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
"no-var": "error",
|
||||
"prefer-const": "error",
|
||||
"no-console": "warn",
|
||||
"no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
|
||||
},
|
||||
},
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue