chore: add .prettierignore and update pre-commit-config

This commit is contained in:
Yongjie Zhao 2021-11-15 10:46:46 +08:00
parent e7cc08a6f4
commit fe1d91015a
2 changed files with 27 additions and 0 deletions

View File

@ -49,4 +49,5 @@ repos:
rev: v2.4.1 # Use the sha or tag you want to point at
hooks:
- id: prettier
args: ['--ignore-path=./superset-frontend/.prettierignore']
files: 'superset-frontend'

View File

@ -0,0 +1,26 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
coverage/
esm/
lib/
tmp/
node_modules/
tsconfig.json
CHANGELOG.md
*.geojson
*-topo.json
temporary_superset_ui/