Skip to content

Instantly share code, notes, and snippets.

@cedeber
Created March 16, 2018 08:27
Show Gist options
  • Save cedeber/1fa7e0fb8ebb416fbb518c425899b743 to your computer and use it in GitHub Desktop.
Save cedeber/1fa7e0fb8ebb416fbb518c425899b743 to your computer and use it in GitHub Desktop.
Projects Configurations files
# Cross-editor coding style settings.
# See http://editorconfig.org/ for details.
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
{
"env": {
"browser": true,
"es6": true,
"worker": true,
"serviceworker": true
},
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"extends": "eslint:recommended",
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "off",
"constructor-super": "warn",
"valid-typeof": "warn"
}
}
{
"compilerOptions": {
"target": "es2017",
"checkJs": true,
"experimentalDecorators": true,
"lib": ["dom", "dom.iterable", "es2015", "es2016", "es2017", "esnext", "scripthost"],
"module": "es2015",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitThis": true,
"strictNullChecks": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment