8000 Jtw/fix eol by jacobtylerwalls · Pull Request #3 · jacobtylerwalls/arches · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Jtw/fix eol #3

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 serv 8000 ice and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
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
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Known binary formats
*.png binary
*.jpg binary
*.ico binary
*.gif binary
*.ttf binary
*.woff binary
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
run: |
black . --check --exclude=node_modules

- name: Check line endings
run: |
! git ls-files --eol | grep 'w/crlf\|w/mixed'

- name: Run frontend tests
run: |
npm run vitest
Expand Down
4 changes: 4 additions & 0 deletions arches/install/arches-templates/.github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
run: |
black . --check --exclude=node_modules

- name: Check line endings
run: |
! git ls-files --eol | grep 'w/crlf\|w/mixed'

- name: Run frontend tests
run: |
npm run vitest
Expand Down
5 changes: 3 additions & 2 deletions arches/management/commands/updateproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def handle(self, *args, **options):
answer = input(
"This will replace the following files in your project:\n"
".babelrc, eslintrc.js, .eslintignore, .browserslistrc, .stylelintrc.json,\n"
".yarnrc, .gitignore, nodemon.json, .prettierrc, .pre-commit-config.yaml,\n"
"tsconfig.json, and the entire webpack directory.\n\n"
".yarnrc, .gitattributes, .gitignore, nodemon.json, .prettierrc,\n"
".pre-commit-config.yaml, tsconfig.json, and the entire webpack directory.\n\n"
"Continue? "
)

Expand Down Expand Up @@ -122,6 +122,7 @@ def update_to_v7_6(self):
"nodemon.json",
"tsconfig.json",
".coveragerc",
".gitattributes",
".gitignore",
".babelrc",
".browserslistrc",
Expand Down
Loading
0