Skip to content

Commit

Permalink
style: update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermendes committed Sep 17, 2024
1 parent 4ce0c72 commit 07363b0
Showing 1 changed file with 1 addition and 53 deletions.
54 changes: 1 addition & 53 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,3 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"plugin:jest-formatting/strict",
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"jest",
"jest-formatting",
"json"
],
"env": {
"node": true,
"jest/globals": true
},
"globals": {
"PromiseFulfilledResult": "readonly"
},
"settings": {
"import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] },
"import/resolver": { "typescript": {} }
},
"rules": {
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"global-require": "off",
"import/no-dynamic-require": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/no-non-null-assertion": "error",
"class-methods-use-this": "off",
"indent": "off",
"max-classes-per-file": "off",
"no-underscore-dangle": "off",
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"no-console": "off",
"no-param-reassign": "off",
"consistent-return": "off",
"padding-line-between-statements": [
"error",
{ "blankLine": "always", "prev": ["*"], "next": ["block-like", "return", "class"] },
{ "blankLine": "always", "prev": ["block-like", "return", "class"], "next": ["*"] }
],
"jest/consistent-test-it": ["error", { "fn": "it" }],
"jest/prefer-lowercase-title": ["error", { "ignore": ["describe"] }],
"jest/require-top-level-describe": "error",
"jest/no-standalone-expect": "off"
}
"extends": "@aurora-is-near/eslint-config"
}

0 comments on commit 07363b0

Please sign in to comment.