diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 7d82eb2d..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "env": { - "node": true, - "browser": true, - "commonjs": true, - "es6": true - }, - "extends": "eslint:recommended", - "overrides": [], - "parserOptions": { - "ecmaVersion": "latest" - }, - "rules": {} -} \ No newline at end of file diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 00000000..af9e9846 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,14 @@ +const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended') + +module.exports = [ + { + languageOptions: { + globals: { + node: true, + es6: true, + }, + ecmaVersion: 'latest', + }, + }, + eslintPluginPrettierRecommended, +]