diff options
author | crupest <crupest@outlook.com> | 2020-10-31 00:42:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 00:42:06 +0800 |
commit | 1b80b699e477a0c14a069401cf39126d19668bf0 (patch) | |
tree | 0d1c10cd42398bea87e0169e8a4ec385b71f49bc /Timeline/ClientApp/.eslintrc.js | |
parent | 0062a22423806c9501752132133e14de02355760 (diff) | |
parent | 5875e7a19ff8eb244e2849647ba35aa898de6b52 (diff) | |
download | timeline-1b80b699e477a0c14a069401cf39126d19668bf0.tar.gz timeline-1b80b699e477a0c14a069401cf39126d19668bf0.tar.bz2 timeline-1b80b699e477a0c14a069401cf39126d19668bf0.zip |
Merge pull request #161 from crupest/upgrade
Upgrade packages and split front end and back end.
Diffstat (limited to 'Timeline/ClientApp/.eslintrc.js')
-rw-r--r-- | Timeline/ClientApp/.eslintrc.js | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/Timeline/ClientApp/.eslintrc.js b/Timeline/ClientApp/.eslintrc.js deleted file mode 100644 index 900489ed..00000000 --- a/Timeline/ClientApp/.eslintrc.js +++ /dev/null @@ -1,47 +0,0 @@ -module.exports = {
- env: {
- browser: true,
- es2020: true,
- },
- extends: [
- "eslint:recommended",
- "plugin:react/recommended",
- "plugin:@typescript-eslint/eslint-recommended",
- "plugin:@typescript-eslint/recommended",
- "plugin:@typescript-eslint/recommended-requiring-type-checking",
- "plugin:prettier/recommended",
- "prettier/react",
- "prettier/@typescript-eslint",
- "plugin:react-hooks/recommended",
- ],
- globals: {
- Atomics: "readonly",
- SharedArrayBuffer: "readonly",
- },
- parser: "@typescript-eslint/parser",
- parserOptions: {
- project: ["./src/app/tsconfig.json", "./src/sw/tsconfig.json"],
- ecmaFeatures: {
- jsx: true,
- },
- sourceType: "module",
- },
- plugins: ["react", "@typescript-eslint", "react-hooks"],
- settings: {
- react: {
- version: "detect",
- },
- },
- rules: {
- "react/prop-types": "off",
- "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
- "@typescript-eslint/explicit-function-return-type": [
- "warn",
- {
- allowExpressions: true,
- allowTypedFunctionExpressions: true,
- allowHigherOrderFunctions: true,
- },
- ],
- },
-};
|