Skip to content

Instantly share code, notes, and snippets.

@junio256
Last active December 6, 2022 20:51
Show Gist options
  • Save junio256/e173a4d9fd4921fec24df6862ea8d626 to your computer and use it in GitHub Desktop.
Save junio256/e173a4d9fd4921fec24df6862ea8d626 to your computer and use it in GitHub Desktop.
JS/TS linters
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 90
tab_width = 4
trim_trailing_whitespace = false
{
"extends": [
"plugin:prettier/recommended"
],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
}
{
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"useTabs": false,
"endOfLine": "lf",
"trailingComma": "all",
"vueIndentScriptAndStyle": true
}
@junio256
Copy link
Author

junio256 commented Jun 1, 2022

yarn add eslint prettier eslint-config-prettier eslint-plugin-prettier -D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment