Skip to content

Commit

Permalink
chore: Update eslint configuration and remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
wozjac committed Jun 21, 2024
1 parent 8c6cf65 commit 0cc4e79
Show file tree
Hide file tree
Showing 5 changed files with 460 additions and 354 deletions.
18 changes: 0 additions & 18 deletions config/.eslintrc.json

This file was deleted.

32 changes: 32 additions & 0 deletions config/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
const globals = require("globals");
const js = require("@eslint/js");

module.exports = [
{
ignores: [
"node_modules/**",
"dist/**",
"coverage/**",
"out/",
".vscode-test/**/*",
],
},
js.configs.recommended,
{
languageOptions: {
ecmaVersion: "latest",
globals: {
...globals.browser,
...globals.commonjs,
...globals.jquery,
...globals.mocha,
},
},
rules: {
curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "off",
},
},
];
Loading

0 comments on commit 0cc4e79

Please sign in to comment.