diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6aa8b240e..8731b8aa3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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' diff --git a/superset-frontend/.prettierignore b/superset-frontend/.prettierignore new file mode 100644 index 000000000..ce9d951a6 --- /dev/null +++ b/superset-frontend/.prettierignore @@ -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/