Преглед на файлове

update .eslintrc.yml and license check exclude .eslintignore

chengshiwen преди 4 години
родител
ревизия
d754bca766
променени са 2 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 3 0
      dolphinscheduler-ui/.eslintrc.yml
  2. 1 1
      pom.xml

+ 3 - 0
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' }}

+ 1 - 1
pom.xml

@@ -957,7 +957,7 @@
                         <exclude>**/*.txt</exclude>
                         <exclude>**/docs/**</exclude>
                         <exclude>**/*.babelrc</exclude>
-                        <exclude>**/*.eslintrc</exclude>
+                        <exclude>**/*.eslint*</exclude>
                         <exclude>**/.mvn/jvm.config</exclude>
                         <exclude>**/.mvn/wrapper/**</exclude>
                     </excludes>