Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
style: use @bifravst/code-style
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Aug 12, 2019
1 parent fa683d6 commit 64a9bad
Show file tree
Hide file tree
Showing 6 changed files with 467 additions and 281 deletions.
52 changes: 1 addition & 51 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,53 +1,3 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/indent": ["error", "tab"],
"@typescript-eslint/no-object-literal-type-assertion": ["off"],
"@typescript-eslint/explicit-function-return-type": ["off"],
"@typescript-eslint/await-thenable": ["error"],
"@typescript-eslint/no-extraneous-class": ["error"],
"@typescript-eslint/no-floating-promises": ["error"],
"@typescript-eslint/no-for-in-array": ["error"],
"@typescript-eslint/no-require-imports": ["error"],
"@typescript-eslint/no-this-alias": ["error"],
"@typescript-eslint/no-type-alias": ["off"],
"@typescript-eslint/no-unnecessary-type-assertion": ["error"],
"@typescript-eslint/no-useless-constructor": ["error"],
"@typescript-eslint/prefer-for-of": ["error"],
"@typescript-eslint/prefer-function-type": ["error"],
"@typescript-eslint/prefer-includes": ["error"],
"@typescript-eslint/prefer-readonly": ["error"],
"@typescript-eslint/prefer-regexp-exec": ["error"],
"@typescript-eslint/prefer-string-starts-ends-with": ["error"],
"@typescript-eslint/promise-function-async": ["error"],
"@typescript-eslint/require-array-sort-compare": ["error"],
"@typescript-eslint/restrict-plus-operands": ["error"],
"semi": "off",
"@typescript-eslint/semi": ["off"],
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "none",
"requireLast": false
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/prefer-interface": ["off"],
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/no-explicit-any": ["off"]
}
"extends": "@bifravst/eslint-config-typescript"
}
46 changes: 0 additions & 46 deletions .prettierrc

This file was deleted.

3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
...require('@bifravst/code-style/.prettierrc'),
}
Loading

0 comments on commit 64a9bad

Please sign in to comment.