-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update ESLint configuration, improve ProjectsGallery compon…
…ent, and enhance styles - Changed module.exports to export const in .eslintrc.js - Updated ProjectsGallery to use dataset for technology filtering - Improved SVG favicon design - Adjusted CSS styles for better layout and animations - Modified project features in JSON files for clarity - Refined UI text for better readability
- Loading branch information
1 parent
b317c0a
commit d0e7c97
Showing
8 changed files
with
98 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,45 +1,43 @@ | ||
module.exports = { | ||
overrides: [ | ||
{ | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:prettier/recommended', | ||
'plugin:astro/recommended' | ||
], | ||
files: ['*.astro'], | ||
plugins: ['astro'], | ||
env: { | ||
node: true, | ||
'astro/astro': true, | ||
es2020: true | ||
}, | ||
parser: 'astro-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', | ||
extraFileExtensions: ['.astro'], | ||
sourceType: 'module' | ||
}, | ||
rules: { | ||
'astro/no-conflict-set-directives': 'error', | ||
'astro/no-unused-define-vars-in-style': 'error' | ||
} | ||
export const overrides = [ | ||
{ | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:prettier/recommended', | ||
'plugin:astro/recommended' | ||
], | ||
files: ['*.astro'], | ||
plugins: ['astro'], | ||
env: { | ||
node: true, | ||
'astro/astro': true, | ||
es2020: true | ||
}, | ||
{ | ||
files: ['**/*.astro/*.js', '*.astro/*.js'], | ||
env: { | ||
browser: true, | ||
es2020: true | ||
}, | ||
parserOptions: { | ||
sourceType: 'module' | ||
}, | ||
rules: { | ||
'prettier/prettier': 'error', | ||
'astro/known-attributes': 'warn', | ||
'astro/no-raw-text': 'warn', | ||
'astro/require-lang': 'warn', | ||
'astro/sort-attributes': 'warn' | ||
} | ||
parser: 'astro-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', | ||
extraFileExtensions: ['.astro'], | ||
sourceType: 'module' | ||
}, | ||
rules: { | ||
'astro/no-conflict-set-directives': 'error', | ||
'astro/no-unused-define-vars-in-style': 'error' | ||
} | ||
}, | ||
{ | ||
files: ['**/*.astro/*.js', '*.astro/*.js'], | ||
env: { | ||
browser: true, | ||
es2020: true | ||
}, | ||
parserOptions: { | ||
sourceType: 'module' | ||
}, | ||
rules: { | ||
'prettier/prettier': 'error', | ||
'astro/known-attributes': 'warn', | ||
'astro/no-raw-text': 'warn', | ||
'astro/require-lang': 'warn', | ||
'astro/sort-attributes': 'warn' | ||
} | ||
] | ||
} | ||
} | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 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 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 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 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 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