Skip to content

Commit

Permalink
Rename src/neuroglancer/ -> src/ and reformat
Browse files Browse the repository at this point in the history
prettier is now used for formatting, and biome is now used for linting.
  • Loading branch information
jbms committed Jan 8, 2024
1 parent c466b24 commit 8aaa3db
Show file tree
Hide file tree
Showing 1,035 changed files with 119,689 additions and 106,562 deletions.
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ end_of_line = lf
charset = utf-8
trim_leading_whitespace = true
insert_final_newline = true
max_line_length = 80

[*.py]
indent_style = space
Expand Down
8 changes: 3 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
Expand All @@ -16,6 +14,6 @@
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-empty-interface": "off",
},
"@typescript-eslint/no-empty-interface": "off"
}
}
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Prevent line ending conversions by default to avoid problems with binary files.
* -text

# Known text files should have LF line endings.
*.py text eol=lf
*.ts text eol=lf
*.js text eol=lf
*.css text eol=lf
*.json text eol=lf
*.html text eol=lf
*.svg text eol=lf
*.md text eol=lf
26 changes: 13 additions & 13 deletions .github/actions/setup-firefox/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ description: "Sets up firefox on Linux"
runs:
using: "composite"
steps:
- run: |
sudo add-apt-repository ppa:mozillateam/ppa
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
- run: |
sudo add-apt-repository ppa:mozillateam/ppa
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
Package: firefox
Pin: version 1:1snap1-0ubuntu2
Pin-Priority: -1
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
sudo apt-get install firefox xvfb
if: startsWith(runner.os, 'Linux')
shell: bash
Package: firefox
Pin: version 1:1snap1-0ubuntu2
Pin-Priority: -1
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
sudo apt-get install firefox xvfb
if: startsWith(runner.os, 'Linux')
shell: bash
Loading

0 comments on commit 8aaa3db

Please sign in to comment.