-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from irsooti/develop
Cleaning up
- Loading branch information
Showing
287 changed files
with
3,261 additions
and
7,227 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,58 @@ | ||
module.exports = { | ||
// ... | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:astro/recommended", | ||
"plugin:jsx-a11y/recommended", | ||
], | ||
parser: "@typescript-eslint/parser", | ||
settings: { | ||
react: { | ||
version: "detect", // React version. "detect" automatically picks the version you have installed. | ||
}, | ||
}, | ||
env: { | ||
browser: true, | ||
node: true, | ||
}, | ||
globals: { | ||
window: true, | ||
module: true, | ||
google: true, | ||
}, | ||
// ... | ||
overrides: [ | ||
{ | ||
// Define the configuration for React files. | ||
files: ["*.tsx"], | ||
parser: "@typescript-eslint/parser", | ||
extends: [ | ||
"plugin:react/recommended", | ||
"plugin:react/jsx-runtime", | ||
"plugin:react-hooks/recommended", | ||
], | ||
rules: { | ||
// override/add rules settings here, such as: | ||
// "@typescript-eslint/no-explicit-any": "off", | ||
}, | ||
}, | ||
{ | ||
// Define the configuration for `.astro` file. | ||
files: ["*.astro"], | ||
// 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", | ||
extraFileExtensions: [".astro"], | ||
}, | ||
rules: { | ||
// 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,3 @@ package-lock.json* | |
|
||
# intellij | ||
.idea/ | ||
|
||
# astro translations | ||
src/pages/it/ | ||
src/pages/en/ |
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,7 +1,14 @@ | ||
{ | ||
"i18n-ally.localesPaths": [ | ||
"public/locales/it.json", | ||
"public/locales" | ||
], | ||
"i18n-ally.sourceLanguage": "en", | ||
"i18n-ally.localesPaths": [ | ||
"public/locales/it.json", | ||
"public/locales" | ||
], | ||
"i18n-ally.sourceLanguage": "en", | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"astro", // Enable .astro | ||
"typescript", // Enable .ts | ||
"typescriptreact" // Enable .tsx | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
{ | ||
|
||
} | ||
{} |
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
Oops, something went wrong.