Skip to content

Instantly share code, notes, and snippets.

@BananaAcid
Last active May 28, 2023 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BananaAcid/332e15c9dc90aef330a7ed2eaaa81fcf to your computer and use it in GitHub Desktop.
Save BananaAcid/332e15c9dc90aef330a7ed2eaaa81fcf to your computer and use it in GitHub Desktop.
Nuxt esLint basic setup
dist
node_modules
{
"root": true,
"extends": [
"@nuxt/eslint-config"
],
"rules": {
"vue/singleline-html-element-content-newline": [
"error",
{
"ignoreWhenNoAttributes": true,
"ignoreWhenEmpty": true,
"ignores": [
"pre",
"textarea",
"button"
]
}
]
}
}
{
"scripts": {
"lint": "eslint ."
},
"devDependencies": {
"@nuxt/eslint-config": "^0.1.1",
"eslint": "^8.41.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment