-
Notifications
You must be signed in to change notification settings - Fork 2
assets #27
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
assets #27
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1c071ea
feat: Enhance metadata and layout for improved SEO and user experience
djdiptayan1 7870416
Merge pull request #1 from djdiptayan1/seo
djdiptayan1 c3b7897
feat: Update favicon and enhance layout metadata for improved brandin…
djdiptayan1 a27742f
Merge pull request #2 from djdiptayan1/seo
djdiptayan1 89aa295
Merge branch 'staging' into staging
djdiptayan1 436bd31
Merge branch 'SRM-IST-KTR:staging' into staging
djdiptayan1 f439ef8
style: Update layout and styling for improved responsiveness and user…
djdiptayan1 255d3e6
feat: Update favicon and enhance layout metadata for improved brandin…
djdiptayan1 0c98c01
Merge branch 'SRM-IST-KTR:staging' into staging
djdiptayan1 678e00b
chore: add ESLint configuration and scripts for linting
djdiptayan1 77427a3
feat: enhance flow control with recalculation and debounce logic
djdiptayan1 179e92d
Add new icons and manifest for PWA support
djdiptayan1 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| const js = require('@eslint/js'); | ||
| const globals = require('globals'); | ||
|
|
||
| module.exports = [ | ||
| { | ||
| ignores: ['node_modules/**'], | ||
| }, | ||
| js.configs.recommended, | ||
| { | ||
| files: ['**/*.js'], | ||
| languageOptions: { | ||
| ecmaVersion: 'latest', | ||
| sourceType: 'commonjs', | ||
| globals: { | ||
| ...globals.node, | ||
| }, | ||
| }, | ||
| rules: { | ||
| 'no-console': 'off', | ||
| 'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], | ||
| camelcase: [ | ||
| 'warn', | ||
| { | ||
| properties: 'never', | ||
| ignoreDestructuring: true, | ||
| ignoreImports: true, | ||
| allow: ['^_$'], | ||
| }, | ||
| ], | ||
| 'func-names': ['warn', 'as-needed'], | ||
| 'id-match': [ | ||
| 'warn', | ||
| '^_?(?:[a-z][a-zA-Z0-9]*|[A-Z][a-zA-Z0-9]*)$', | ||
| { | ||
| onlyDeclarations: true, | ||
| properties: false, | ||
| }, | ||
| ], | ||
| 'no-restricted-syntax': [ | ||
| 'warn', | ||
| { | ||
| selector: "FunctionDeclaration[id.name!=/^[A-Z][a-zA-Z0-9]*$/]", | ||
| message: 'Function names must be PascalCase like NewFont.', | ||
| }, | ||
| { | ||
| selector: "VariableDeclarator[init.type='ArrowFunctionExpression'][id.type='Identifier'][id.name!=/^[A-Z][a-zA-Z0-9]*$/]", | ||
| message: 'Function names must be PascalCase like NewFont.', | ||
| }, | ||
| { | ||
| selector: "VariableDeclarator[init.type='FunctionExpression'][id.type='Identifier'][id.name!=/^[A-Z][a-zA-Z0-9]*$/]", | ||
| message: 'Function names must be PascalCase like NewFont.', | ||
| }, | ||
| ], | ||
| }, | ||
| }, | ||
| ]; | ||
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ESLint config warns if any function/arrow-function identifier is not PascalCase, but the backend code uses camelCase for controller functions (e.g.
deployFlow,updateRoomState). This will generate noisy lint output and makenpm run linthard to use. Recommend removing theseno-restricted-syntaxselectors or switching the rule to enforce camelCase for non-component functions.