chore: migration for eslint-plugin-prettier

This commit is contained in:
Jean-Philippe Sirois
2021-06-01 01:31:54 -04:00
parent 894e7fa45b
commit ff8be73d86
+5 -2
View File
@@ -17,7 +17,6 @@ module.exports = {
"plugin:react/recommended", "plugin:react/recommended",
"plugin:react-hooks/recommended", "plugin:react-hooks/recommended",
"prettier", "prettier",
"prettier/@typescript-eslint",
], ],
settings: { settings: {
react: { react: {
@@ -36,6 +35,10 @@ module.exports = {
"jsdoc", "jsdoc",
"prefer-arrow", "prefer-arrow",
], ],
globals: {
React: true,
JSX: true,
},
rules: { rules: {
"@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": [ "@typescript-eslint/array-type": [
@@ -92,7 +95,7 @@ module.exports = {
}, },
}, },
], ],
"@typescript-eslint/naming-convention": "error", "@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-empty-function": "error", "@typescript-eslint/no-empty-function": "error",
"@typescript-eslint/no-empty-interface": "error", "@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-explicit-any": "off",