diff options
author | crupest <crupest@outlook.com> | 2020-09-03 23:09:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 23:09:03 +0800 |
commit | 1966351eb2046b9edfb3f9ccb50cb8921f1a08dc (patch) | |
tree | 792ee4899e7e00d518ea37d6ddd68555a83ac51e /Timeline/ClientApp/.eslintrc.js | |
parent | 3e7e533016b04df4993df66842409cf5857983ee (diff) | |
parent | 5a0adf596988efe8c3e49efcba7594f134a9cb0d (diff) | |
download | timeline-1966351eb2046b9edfb3f9ccb50cb8921f1a08dc.tar.gz timeline-1966351eb2046b9edfb3f9ccb50cb8921f1a08dc.tar.bz2 timeline-1966351eb2046b9edfb3f9ccb50cb8921f1a08dc.zip |
Merge pull request #159 from crupest/dev
Development on front end.
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",
- },
- ],
},
};
|