-
Notifications
You must be signed in to change notification settings - Fork 590
chore: Bundle js files, remove jQuery, and static libs #1556
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
a3673ee
feat: Bundle js files, remove jQuery, and static libs
fsbraun 30ba90f
chore: Remove inline js
fsbraun 88a0236
Update the change forms.
fsbraun 1a5b026
fix: Colors and border radii
fsbraun 4999d50
fix: frontend test
fsbraun 715197b
chore: fix pre-commit
fsbraun 2c3c649
fix: JS CI
fsbraun 00a1f77
fix: Replace HTML injection
fsbraun 45ea027
fix test js lint
fsbraun f9b2cf4
chore: Update test matrix
fsbraun 125267f
chore: Remove py3.14 tests for Dj4.2 and Dj5.1
fsbraun fa4834e
chore: Prepare release 3.4.0
fsbraun ab9e1d4
fix: line length
fsbraun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| export default [ | ||
| { | ||
| ignores: [ | ||
| '**/dist/**', | ||
| '**/node_modules/**', | ||
| '**/*.min.js', | ||
| '**/filer/static/filer/js/dist/**' | ||
| ] | ||
| }, | ||
| { | ||
| files: ['**/*.js'], | ||
| languageOptions: { | ||
| ecmaVersion: 2020, | ||
| sourceType: 'module', | ||
| globals: { | ||
| // Browser globals | ||
| window: 'readonly', | ||
| document: 'readonly', | ||
| console: 'readonly', | ||
| alert: 'readonly', | ||
| Event: 'readonly', | ||
| CustomEvent: 'readonly', | ||
| MouseEvent: 'readonly', | ||
| MutationObserver: 'readonly', | ||
| setTimeout: 'readonly', | ||
| clearTimeout: 'readonly', | ||
| setInterval: 'readonly', | ||
| clearInterval: 'readonly', | ||
| NodeList: 'readonly', | ||
| HTMLCollection: 'readonly', | ||
| URL: 'readonly', | ||
| navigator: 'readonly', | ||
| // Node.js globals | ||
| require: 'readonly', | ||
| module: 'readonly', | ||
| __dirname: 'readonly', | ||
| process: 'readonly', | ||
| // Django globals | ||
| django: 'readonly', | ||
| // Third-party library globals | ||
| Dropzone: 'readonly', | ||
| Mediator: 'readonly', | ||
| Class: 'readonly', | ||
| opener: 'readonly', | ||
| // Custom globals | ||
| Cl: 'readonly', | ||
| // jQuery (for legacy code/tests) | ||
| $: 'readonly', | ||
| jQuery: 'readonly', | ||
| // Test globals | ||
| jasmine: 'readonly', | ||
| describe: 'readonly', | ||
| it: 'readonly', | ||
| expect: 'readonly', | ||
| beforeEach: 'readonly', | ||
| afterEach: 'readonly' | ||
| } | ||
| }, | ||
| rules: { | ||
| // Code quality | ||
| 'eqeqeq': ['error', 'always'], | ||
| 'curly': ['error', 'all'], | ||
| 'no-unused-vars': ['error', { 'vars': 'all', 'args': 'after-used' }], | ||
| 'no-undef': 'error', | ||
| 'no-bitwise': 'error', | ||
| 'no-caller': 'error', | ||
|
|
||
| // Style | ||
| 'quotes': ['error', 'single', { 'avoidEscape': true }], | ||
| 'indent': ['error', 4, { 'SwitchCase': 1 }], | ||
| 'semi': ['error', 'always'], | ||
| 'no-trailing-spaces': 'error', | ||
| 'no-multiple-empty-lines': ['error', { 'max': 2 }], | ||
| 'max-len': ['error', { 'code': 120, 'ignoreUrls': true, 'ignoreRegExpLiterals': true }], | ||
|
|
||
| // Best practices | ||
| 'strict': 'off', // Not needed for ES6 modules | ||
| 'no-implied-eval': 'error', | ||
| 'no-new-func': 'error' | ||
| } | ||
| }, | ||
| { | ||
| files: ['gulpfile.js', '**/karma.conf.js'], | ||
| languageOptions: { | ||
| ecmaVersion: 2020, | ||
| sourceType: 'script', | ||
| globals: { | ||
| require: 'readonly', | ||
| module: 'readonly', | ||
| __dirname: 'readonly', | ||
| process: 'readonly', | ||
| console: 'readonly' | ||
| } | ||
| }, | ||
| rules: { | ||
| 'strict': ['error', 'global'] | ||
| } | ||
| } | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.