Skip to content

Commit

Permalink
updates and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrouid committed Mar 20, 2020
1 parent 108253d commit 548cec6
Show file tree
Hide file tree
Showing 18 changed files with 2,020 additions and 1,864 deletions.
41 changes: 40 additions & 1 deletion .eslintrc
@@ -1,3 +1,42 @@
{
"extends": "standard"
"rules": {
"@typescript-eslint/ban-ts-ignore": ["off"],
"@typescript-eslint/camelcase": ["off"],
"@typescript-eslint/explicit-function-return-type": ["off"],
"@typescript-eslint/interface-name-prefix": ["off"],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/no-unused-expressions": ["off"],
"@typescript-eslint/no-var-requires": ["off"],
"@typescript-eslint/no-use-before-define": ["off"],
"comma-dangle": ["error", "always-multiline"],
"no-async-promise-executor": ["off"],
"no-empty-pattern": ["off"],
"no-undef": ["error"],
"no-var": ["error"],
"object-curly-spacing": ["error", "always"],
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"semi": ["error", "always"],
"spaced-comment": ["off"],
"no-prototype-builtins": ["off"],
"sort-keys": ["off"],
"space-before-function-paren": ["off"],
"indent": ["off"],
"no-console": ["off"]
},
"env": {
"browser": true,
"es6": true
},
"extends": [
"standard",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["prettier", "@typescript-eslint"]
}
6 changes: 6 additions & 0 deletions .prettierrc
@@ -0,0 +1,6 @@
{
"tabWidth": 2,
"useTabs": false,
"trailingComma": "all",
"printWidth": 100
}

0 comments on commit 548cec6

Please sign in to comment.