Skip to content

Instantly share code, notes, and snippets.

@brrd
Last active April 13, 2022 12:18
Show Gist options
  • Save brrd/659446f39de4d70de2e334ba34ef5f67 to your computer and use it in GitHub Desktop.
Save brrd/659446f39de4d70de2e334ba34ef5f67 to your computer and use it in GitHub Desktop.
Defaults
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"language": "fr",
"ignorePaths": ["node_modules"]
}
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{json,yaml,yml}]
indent_style = space
indent_size = 2
[*.{html,njk,xml}]
indent_style = tab
indent_size = 2
{
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"windows"
],
"no-unused-vars": [
"error",
{
"args": "none"
}
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
}
{
"default": true,
"line-length": false,
"no-trailing-punctuation": { "punctuation" : ".,;:" },
"no-inline-html": false,
"no-bare-urls": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment