diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index b347ec1..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - env: { - es6: true, - node: true, - mocha: true, - }, - parserOptions: { - ecmaVersion: 2020, - sourceType: "module", - }, - extends: ["eslint:recommended"], - rules: { - indent: ["error", 4], - "linebreak-style": ["error", "unix"], - quotes: ["error", "double"], - semi: ["error", "always"], - }, -}; diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..951509d --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,3 @@ +import toruslabsJavascript from "@toruslabs/eslint-config-javascript"; + +export default [...toruslabsJavascript];