diff options
author | crupest <crupest@outlook.com> | 2020-09-01 02:32:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-09-01 02:32:06 +0800 |
commit | aa89b6cce7701a57b0c377d938788b4c940013d6 (patch) | |
tree | ae95cb16698439ac825eb1d692ce14125b625ecb /Timeline/ClientApp/.eslintrc.js | |
parent | c3e95a6cd7322c644159eed6350a20dfd1a002ff (diff) | |
download | timeline-aa89b6cce7701a57b0c377d938788b4c940013d6.tar.gz timeline-aa89b6cce7701a57b0c377d938788b4c940013d6.tar.bz2 timeline-aa89b6cce7701a57b0c377d938788b4c940013d6.zip |
...
Diffstat (limited to 'Timeline/ClientApp/.eslintrc.js')
-rw-r--r-- | Timeline/ClientApp/.eslintrc.js | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/Timeline/ClientApp/.eslintrc.js b/Timeline/ClientApp/.eslintrc.js index 830a2aa4..900489ed 100644 --- a/Timeline/ClientApp/.eslintrc.js +++ b/Timeline/ClientApp/.eslintrc.js @@ -1,5 +1,3 @@ -const path = require("path");
-
module.exports = {
env: {
browser: true,
@@ -15,8 +13,6 @@ module.exports = { "prettier/react",
"prettier/@typescript-eslint",
"plugin:react-hooks/recommended",
- "plugin:import/recommended",
- "plugin:import/typescript",
],
globals: {
Atomics: "readonly",
@@ -30,16 +26,11 @@ module.exports = { },
sourceType: "module",
},
- plugins: ["react", "@typescript-eslint", "react-hooks", "import"],
+ plugins: ["react", "@typescript-eslint", "react-hooks"],
settings: {
react: {
version: "detect",
},
- "import/resolver": {
- webpack: {
- config: path.resolve(__dirname, "webpack.config.dev.js"),
- },
- },
},
rules: {
"react/prop-types": "off",
@@ -52,11 +43,5 @@ module.exports = { allowHigherOrderFunctions: true,
},
],
- "import/order": [
- "warn",
- {
- "newlines-between": "always",
- },
- ],
},
};
|