diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..00e6673 --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,17 @@ +/** @type {import('eslint').Linter.Config} */ +module.exports = { + root: true, + env: { + browser: true, + es2021: true, + mocha: true, + }, + extends: ['standard'], + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + }, + rules: { + 'space-before-function-paren': ['error', 'never'], + }, +} \ No newline at end of file diff --git a/.eslintrc.yml b/.eslintrc.yml deleted file mode 100644 index e20974f..0000000 --- a/.eslintrc.yml +++ /dev/null @@ -1,11 +0,0 @@ -env: - browser: true - es2021: true - mocha: true -extends: standard -overrides: [] -parserOptions: - ecmaVersion: latest - sourceType: module -rules: - space-before-function-paren: ["error", "never"]