forked from nuxt/website-v2
-
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.
* 🚧 (wip) trying to fix modules * 🔧 (lint) import lint config * 📦 (deps) add linting deps * ✨ (plugins) ssr compatible modules plugins * ✨ (components) lint & update components * 🔧 (gitignore) add yarn error to gitignore * 📦 (deps) upgrade deps * 🔧 (package) cleanup resolutions * 🔒 (..) .. * ✨ (ssr) SSR for modules * ✨ (modules) fix modules card html Co-authored-by: Sébastien Chopin <[email protected]>
- Loading branch information
Showing
14 changed files
with
1,709 additions
and
380 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,11 @@ | ||
node_modules | ||
dist | ||
.nuxt | ||
coverage | ||
*.log* | ||
.DS_Store | ||
.code | ||
*.iml | ||
package-lock.json | ||
templates/* | ||
sw.js |
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,41 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
node: true | ||
}, | ||
plugins: ['prettier'], | ||
extends: [ | ||
'@nuxtjs', | ||
'prettier', | ||
'plugin:prettier/recommended', | ||
'plugin:nuxt/recommended', | ||
'@nuxtjs/eslint-config-typescript' | ||
], | ||
rules: { | ||
// Vue rules | ||
'vue/component-name-in-template-casing': [ | ||
'error', | ||
'PascalCase', | ||
{ | ||
registeredComponentsOnly: true | ||
} | ||
], | ||
'vue/singleline-html-element-content-newline': [0], | ||
'vue/multiline-html-element-content-newline': [0], | ||
'vue/html-self-closing': [0], | ||
'vue/no-v-html': [0], | ||
'vue/max-attributes-per-line': [0], | ||
'vue/html-closing-bracket-newline': [0], | ||
'vue/html-indent': [0], | ||
// Prettier rules | ||
'max-len': [0, 120], | ||
code: [0, 120], | ||
'print-width': [0, 120], | ||
'no-console': [1], | ||
'space-before-function-paren': [0], | ||
'arrow-parens': [0], | ||
curly: [0], | ||
'keyword-spacing': [0] | ||
} | ||
} |
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,7 @@ | ||
{ | ||
"printWidth": 120, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid" | ||
} |
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
Oops, something went wrong.