Browse Source

update .eslintrc.yml and license check exclude .eslintignore

pull/3/MERGE
chengshiwen 4 years ago
parent
commit
d754bca766
  1. 3
      dolphinscheduler-ui/.eslintrc.yml
  2. 2
      pom.xml

3
dolphinscheduler-ui/.eslintrc.yml

@ -35,7 +35,10 @@ plugins:
rules: rules:
vue/script-indent: ['error', 2, { 'baseIndent': 1, 'switchCase': 1 }] vue/script-indent: ['error', 2, { 'baseIndent': 1, 'switchCase': 1 }]
vue/no-unused-components: 'off' vue/no-unused-components: 'off'
vue/no-mutating-props: 'off'
no-prototype-builtins: 'off'
no-mixed-operators: 'off' no-mixed-operators: 'off'
no-extend-native: 'off'
prefer-const: 'off' prefer-const: 'off'
overrides: overrides:
- { 'files': ['*.vue'], 'rules': { 'indent': 'off' }} - { 'files': ['*.vue'], 'rules': { 'indent': 'off' }}

2
pom.xml

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

Loading…
Cancel
Save