Skip to content

Commit

Permalink
chore: move eslintrc to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
SauravMaheshkar authored and Gr1N committed Apr 16, 2023
1 parent 364689e commit b19c495
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
25 changes: 0 additions & 25 deletions .eslintrc.json

This file was deleted.

27 changes: 26 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,30 @@
"lib/",
"dist/",
"node_modules/"
]
],
"eslintConfig": {
"plugins": ["jest", "@typescript-eslint", "github"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:github/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/restrict-template-expressions": "off"
},
"env": {
"node": true,
"es6": true,
"jest/globals": true
}
}
}

0 comments on commit b19c495

Please sign in to comment.