Skip to content

Commit

Permalink
chore: add website starter
Browse files Browse the repository at this point in the history
  • Loading branch information
techfg committed Mar 24, 2024
1 parent cc89b2c commit 5f53d25
Show file tree
Hide file tree
Showing 23 changed files with 11,048 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ node_modules/
package-lock.json
!.*.json
!.*.jsonc
/docs/
**/*.d.ts
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ build/
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
docs/
/docs/

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ package-lock.json
!.*.json
!.*.jsonc
*.hbs
/docs/
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"singleQuote": true,
"trailingComma": "none"
"trailingComma": "none",
"plugins": ["prettier-plugin-astro"]
}
1 change: 1 addition & 0 deletions .remarkignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ examples/redist/
build/
dist/
node_modules/
/docs/
13 changes: 12 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,16 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript", "html", "markdown", "yaml", "json", "jsonc"]
"eslint.validate": [
"javascript",
"html",
"markdown",
"mdx",
"yaml",
"json",
"jsonc",
"typescript",
"astro"
],
"prettier.documentSelectors": ["**/*.astro"]
}
17 changes: 16 additions & 1 deletion gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,22 @@ module.exports = function (grunt) {
eslint: {
options: {
failOnError: true,
extensions: ['.js', '.html', '.yml', '.yaml', '.md', '.json', '.jsonc']
extensions: [
'.js',
'.jsx',
'.cjs',
'.mjs',
'.html',
'.yml',
'.yaml',
'.md',
'.mdx',
'.json',
'.jsonc',
'.ts',
'.tsx',
'.astro'
]
},
check: {
src: ['.']
Expand Down
Loading

0 comments on commit 5f53d25

Please sign in to comment.