From d754bca7669c63e7c189281879eba469b0b0fc3a Mon Sep 17 00:00:00 2001 From: chengshiwen Date: Fri, 11 Dec 2020 23:16:55 +0800 Subject: [PATCH] update .eslintrc.yml and license check exclude .eslintignore --- dolphinscheduler-ui/.eslintrc.yml | 3 +++ pom.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/.eslintrc.yml b/dolphinscheduler-ui/.eslintrc.yml index d0ef4970f1..162d80edfb 100644 --- a/dolphinscheduler-ui/.eslintrc.yml +++ b/dolphinscheduler-ui/.eslintrc.yml @@ -35,7 +35,10 @@ plugins: rules: vue/script-indent: ['error', 2, { 'baseIndent': 1, 'switchCase': 1 }] vue/no-unused-components: 'off' + vue/no-mutating-props: 'off' + no-prototype-builtins: 'off' no-mixed-operators: 'off' + no-extend-native: 'off' prefer-const: 'off' overrides: - { 'files': ['*.vue'], 'rules': { 'indent': 'off' }} diff --git a/pom.xml b/pom.xml index a2a1ff7c5d..5163ae7df7 100644 --- a/pom.xml +++ b/pom.xml @@ -957,7 +957,7 @@ **/*.txt **/docs/** **/*.babelrc - **/*.eslintrc + **/*.eslint* **/.mvn/jvm.config **/.mvn/wrapper/**