Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore(repo): Remove duplicated Prettier config #1646

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
const { prettierConfig } = require('./.prettierrc');
let prettierConfig;

(async () => {
prettierConfig = (await import('prettier-config-spirit')).prettierConfig;
})();

module.exports = {
root: true,
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ packages/**/cjs/*
packages/**/umd/*
static/assets/icons/react

**/cache

# Ignoring html files because Prettier prefers closing slash on the end of the tag
# @See: https://github.com/lmc-eu/spirit-design-system/pull/77/files#r764183332
**/*.html
Expand Down Expand Up @@ -43,6 +45,7 @@ packages/codemods/src/transforms/**/*.output.tsx
# @see: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/plugins
.yarn/releases
.yarn/*.gz

# Lock Files
*.lock
Expand Down
6 changes: 0 additions & 6 deletions .prettierrc.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"@lmc-eu/commitlint-config": "2.0.3",
"@lmc-eu/conventional-changelog-lmc-github": "3.0.3",
"@lmc-eu/eslint-config-react": "2.0.5",
"@lmc-eu/prettier-config": "2.0.1",
"@omlet/cli": "1.10.4",
"@playwright/test": "1.47.0",
"@rollup/plugin-babel": "6.0.4",
Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26524,7 +26524,6 @@ __metadata:
"@lmc-eu/commitlint-config": "npm:2.0.3"
"@lmc-eu/conventional-changelog-lmc-github": "npm:3.0.3"
"@lmc-eu/eslint-config-react": "npm:2.0.5"
"@lmc-eu/prettier-config": "npm:2.0.1"
"@omlet/cli": "npm:1.10.4"
"@playwright/test": "npm:1.47.0"
"@rollup/plugin-babel": "npm:6.0.4"
Expand Down
Loading