Skip to content
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

Init nuxt content #4

Merged
merged 13 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# editorconfig.org
root = true

[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = off
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Production license for @nuxt/ui-pro, get one at https://ui.nuxt.com/pro/purchase
NUXT_UI_PRO_LICENSE=

# Public URL, used for OG Image when running nuxt generate
NUXT_PUBLIC_SITE_URL=
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.d.ts
**/node_modules/**
**/build/**
**/dist/**
**/coverage/**
**/.*/**
12 changes: 12 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:vue/vue3-essential", "@nuxt/eslint-config"],
"plugins": ["vue"],
"rules": {
"quote-props": ["error", "as-needed"]
}
}
8 changes: 4 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Runs prettier formatter
run: |
bun install
bun run lint:fmt
bun run lint:prettier

spelling:
name: spelling
Expand All @@ -27,15 +27,15 @@ jobs:
- name: Runs cspell spell checker
run: |
bun install
bun run lint:spell
bun run lint:spelling

lint:
name: lint
name: lint markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Runs mdl markdown linter
run: |
bun install
bun run lint:mdl
bun run lint:markdown
123 changes: 24 additions & 99 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@
# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
*.log

# Diagnostic reports (https://nodejs.org/api/report.html)

Expand All @@ -30,35 +25,11 @@ lib-cov
coverage
\*.lcov

# nyc test coverage

.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)

.grunt

# Bower dependency directory (https://bower.io/)

bower_components

# node-waf configuration

.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)

build/Release

# Dependency directories

node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)

web_modules/

# TypeScript cache

\*.tsbuildinfo
Expand All @@ -67,6 +38,14 @@ web_modules/

.npm

# npm and pnpm
package-lock.json
__package_previews__
.store

privatePackages/store
pnpm-lock.yaml

# Optional eslint cache

.eslintcache
Expand All @@ -75,102 +54,48 @@ web_modules/

.stylelintcache

# Microbundle cache

.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history

.node_repl_history

# Output of 'npm pack'

\*.tgz

# Yarn Integrity file

.yarn-integrity

# dotenv environment variable files

.env
.env.development.local
.env.test.local
.env.production.local
.env.local
.env.*
!.env.example

# parcel-bundler cache (https://parceljs.org/)

.cache
.parcel-cache

# Next.js build output

.next
out

# Nuxt.js build / generate output

.nuxt
dist

# Gatsby files

.cache/

# Comment in the public line in if your project uses Gatsby and not Next.js

# https://nextjs.org/blog/next-9-1#public-directory-support

# public

# vuepress build output

.vuepress/dist

# vuepress v2.x temp and cache directory

.temp
.cache

# Docusaurus cache and generated files

.docusaurus

# Serverless directories

.serverless/

# FuseBox cache

.fusebox/

# DynamoDB Local files

.dynamodb/

# TernJS port file

.tern-port

# Stores VSCode versions used for testing VSCode extensions

.vscode-test

# yarn v2
# yarn

.yarn-integrity
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.\*
.pnp.*
yarn.lock

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store

.history

# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist
17 changes: 17 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json",
"default": true,
"MD001": false,
"MD003": {
"style": "atx"
},
"MD007": {
"indent": 2
},
"MD013": {
"code_blocks": false,
"line_length": 120,
"tables": false
},
"MD033": false
}
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.github
.idea
public
public
content
14 changes: 14 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"plugins": ["prettier-plugin-tailwindcss"],
"bracketSameLine": false,
"printWidth": 120,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"bracketSpacing": true,
"vueIndentScriptAndStyle": false,
"proseWrap": "always",
"singleAttributePerLine": true
}
19 changes: 19 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"recommendations": [
"bradlc.vscode-tailwindcss",
"christian-kohler.npm-intellisense",
"christian-kohler.path-intellisense",
"DavidAnson.vscode-markdownlint",
"dbaeumer.vscode-eslint",
"editorconfig.editor",
"esbenp.prettier-vscode",
"mikestead.dotenv",
"nuxt.mdc",
"rvest.vs-code-prettier-eslint",
"simonsiefke.svg-preview",
"streetsidesoftware.code-spell-checker",
"vue.volar",
"yoavbls.pretty-ts-errors"
],
"unwantedRecommendations": ["vue.vscode-typescript-vue-plugin"]
}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnType": false,
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.eol": "\n",
"[markdown]": {
"editor.wordWrap": "on"
}
}
Loading