From 857f678f314e5d41eac182a676447a18402b1f77 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 30 Jun 2022 01:43:17 +0200 Subject: [PATCH] maint: Extend eslint config from @patternslib/dev. --- .eslintrc.js | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index aa7e99f7c..7d4999d07 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,22 +1 @@ -module.exports = { - extends: ["eslint:recommended", "prettier"], - root: true, - env: { - es6: "true", - browser: true, - node: true, - jest: true, - }, - parser: "@babel/eslint-parser", - ignorePatterns: ["dist/", "docs/", "node_modules/"], - rules: { - "no-debugger": 1, - "no-duplicate-imports": 1, - // Do keep due avoid unintendet consequences. - "no-alert": 0, - "no-control-regex": 0, - "no-self-assign": 0, - "no-useless-escape": 0, - }, - globals: {}, -}; +module.exports = require("@patternslib/dev/.eslintrc.js");