diff --git a/package.json b/package.json index fd9e42ec65..437ce36c4b 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "pre-commit": "lint-staged" } }, + "prettier": "@spotify/prettier-config", "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix", diff --git a/prettier.config.js b/prettier.config.js deleted file mode 100644 index ed2aaa1774..0000000000 --- a/prettier.config.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright 2020 Spotify AB - * - * Licensed 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. - */ - -// For some reason VSCode's extension doesn't work with field in the -// package.json pointing to the same package -module.exports = require('@spotify/prettier-config');