Skip to content

Commit

Permalink
add in few more conflicting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
barelyhuman committed Jun 10, 2022
1 parent b6d34dd commit cfa953d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"plugins": ["@typescript-eslint", "import", "simple-import-sort"],
"extends": ["eslint:recommended"],
// To be edited as needed by the project
"overrides": [
{
"files": ["*.ts", "*.tsx"], // Your TypeScript files extension
Expand All @@ -26,6 +27,16 @@
}
],
"rules": {
// conflicting rules with prettier
"function-paren-newline": "off",
"function-call-argument-newline": "off",
"arrow-parens": "off",
"comma-dangle": "off",
"comma-spacing": "off",
"semi": "off",
"quotes": "off",

// simple import and import
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"import/order": "off",
Expand All @@ -34,9 +45,9 @@
"import/no-unresolved": "off",
"import/no-absolute-path": "off",
"import/named": "off",
"semi": "off",

// basics
"curly": ["error", "multi-or-nest", "consistent"],
"quotes": "off",
"quote-props": ["error", "consistent-as-needed"],
"array-callback-return": "error",
"block-scoped-var": "error",
Expand Down

0 comments on commit cfa953d

Please sign in to comment.