Skip to content

Commit

Permalink
add .prettierignore and update pre-commit-config
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Nov 17, 2021
1 parent 2b7cb42 commit d9b0736
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
26 changes: 26 additions & 0 deletions superset-frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit d9b0736

Please sign in to comment.