Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit moving to astro * solved eslint prettier issues * working resume, remove all react mentions * updated README * responsive design
- Loading branch information
Showing
70 changed files
with
4,640 additions
and
5,605 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 |
---|---|---|
@@ -0,0 +1,114 @@ | ||
module.exports = { | ||
extends: [ | ||
'plugin:astro/recommended', | ||
'plugin:tailwindcss/recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
extraFileExtensions: ['.astro'], // This is a required setting in `@typescript-eslint/parser` v5. | ||
}, | ||
plugins: ['@typescript-eslint', 'import', 'tailwindcss'], | ||
env: { | ||
browser: true, | ||
node: true, | ||
jest: true, | ||
}, | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 'latest', | ||
}, | ||
globals: { | ||
ga: 'readonly', | ||
}, | ||
ignorePatterns: ['/dist/', '/node_modules/'], | ||
settings: { | ||
'import/resolver': { | ||
node: { | ||
paths: ['./'], | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
'import/prefer-default-export': 'off', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['./**/*.ts', './**/*.tsx'], | ||
extends: ['plugin:tailwindcss/recommended', 'plugin:prettier/recommended'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
sourceType: 'module', | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
node: { | ||
paths: ['./'], | ||
extensions: ['.ts', '.tsx'], | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
'no-multi-spaces': 'error', | ||
'import/extensions': 'off', | ||
'no-continue': 'off', | ||
'no-shadow': 'off', | ||
'import/prefer-default-export': 'off', | ||
'@typescript-eslint/no-unused-vars': 'error', | ||
'@typescript-eslint/no-shadow': ['error'], | ||
}, | ||
}, | ||
{ | ||
files: ['./cli/**/*.js'], | ||
rules: { | ||
'import/no-extraneous-dependencies': 'off', | ||
'no-console': 'off', | ||
}, | ||
}, | ||
{ | ||
// Define the configuration for `.astro` file. | ||
files: ['*.astro'], | ||
plugins: ['astro'], | ||
|
||
// Enable this plugin | ||
env: { | ||
// Enables global variables available in Astro components. | ||
node: true, | ||
'astro/astro': true, | ||
es2020: true, | ||
}, | ||
settings: { | ||
'import/parsers': { | ||
'@typescript-eslint/parser': ['.ts', '.astro'], | ||
}, | ||
'import/resolver': { | ||
typescript: { | ||
alwaysTryTypes: true, | ||
project: './', | ||
}, | ||
}, | ||
}, | ||
// Allows Astro components to be parsed. | ||
parser: 'astro-eslint-parser', | ||
// Parse the script in `.astro` as TypeScript by adding the following configuration. | ||
// It's the setting you need when using TypeScript. | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser', | ||
project: 'tsconfig.json', | ||
extraFileExtensions: ['.astro'], | ||
// The script of Astro components uses ESM. | ||
sourceType: 'module', | ||
}, | ||
rules: { | ||
// Enable recommended rules | ||
'astro/no-conflict-set-directives': 'error', | ||
'astro/no-unused-define-vars-in-style': 'error', | ||
'import/no-unresolved': [2, { ignore: ['astro-icon'] }], | ||
// override/add rules settings here, such as: | ||
// "astro/no-set-html-directive": "error" | ||
}, | ||
}, | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules/ |
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,4 +1,5 @@ | ||
{ | ||
"printWidth": 100, | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} |
This file was deleted.
Oops, something went wrong.
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,11 +1,13 @@ | ||
{ | ||
"recommendations": [ | ||
"astro-build.astro-vscode", | ||
"dbaeumer.vscode-eslint", | ||
"stylelint.vscode-stylelint", | ||
"zignd.html-css-class-completion", | ||
"clinyong.vscode-css-modules", | ||
"redhat.vscode-yaml", | ||
"mrmlnc.vscode-scss", | ||
"tomoki1207.pdf" | ||
] | ||
], | ||
"unwantedRecommendations": [] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs | ||
spec: "https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js" | ||
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs | ||
spec: "https://mskelton.dev/yarn-outdated/v2" | ||
|
||
yarnPath: .yarn/releases/yarn-3.6.1.cjs |
Oops, something went wrong.