Skip to content

Instantly share code, notes, and snippets.

@vtii
Last active August 14, 2023 10:40
Show Gist options
  • Save vtii/735b0531bbe2d5fa72a85024868e1637 to your computer and use it in GitHub Desktop.
Save vtii/735b0531bbe2d5fa72a85024868e1637 to your computer and use it in GitHub Desktop.
Important project starter files
This gist includes all important files to start a project.
root = true
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[*.{json,css}]
indent_style = tab
indent_size = 4
trailingComma: "es5"
useTabs: true
tabWidth: 4
semi: true
singleQuote: false
proseWrap: "never"
bracketSpacing: false
quoteProps: "as-needed"
arrowParens: "avoid"
printWidth: 200
{
"compilerOptions": {
"outDir": "./dist/",
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"importHelpers": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": false,
"target": "es6",
"experimentalDecorators": true,
"lib": [
"es5",
"es2015",
"es2017",
"dom",
"esnext",
"scripthost"
],
"noEmit": false,
"skipLibCheck": false,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"module": "esnext",
"resolveJsonModule": true,
"isolatedModules": true
},
"exclude": [
"./dev"
],
"include": [
"./src",
"./typings"
]
}
{
"rules": {
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"tabs"
],
"no-eval": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"no-var-keyword": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"double"
],
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"member-access": [
true,
"check-accessor"
],
"jsdoc-format": true,
"import-spacing": true,
"interface-name": [true, "always-prefix"],
"new-parens": true,
"no-boolean-literal-compare": false,
"radix": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment