Skip to content

Instantly share code, notes, and snippets.

@robin-rpr
Last active June 23, 2020 07:10
Show Gist options
  • Save robin-rpr/2d986d8e1e053556ce301a421b541672 to your computer and use it in GitHub Desktop.
Save robin-rpr/2d986d8e1e053556ce301a421b541672 to your computer and use it in GitHub Desktop.
env:
es6: true
node: true
jest: true
extends:
- standard
- "eslint:recommended"
overrides:
[
{
files: ["*.ts", "*.tsx"],
rules: { "@typescript-eslint/no-unused-vars": [2, { args: "none" }] },
},
]
globals:
Atomics: readonly
SharedArrayBuffer: readonly
parser: "@typescript-eslint/parser"
parserOptions:
ecmaVersion: 2018
sourceType: module
plugins:
- "@typescript-eslint"
rules: {
space-before-function-paren: 0,
indent: ["error", 4]
}
Dependencies:
- Nothing I know about -
Dev Dependencies:
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
Scripts:
"lint": "ng lint",
"lint:fix": "eslint --fix --ext .ts .",
{
"compilerOptions": {
"strict": true,
"module": "commonjs",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": true,
"moduleResolution": "node",
"sourceMap": true,
"rootDirs": [
"src",
"environments"
],
"outDir": "dist",
"baseUrl": ".",
"paths": {
"*": [
"node_modules/*",
"src/types/*"
]
}
},
"include": [
"src/**/*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment