Moved to ReactJS
This commit is contained in:
parent
c8ef2b248f
commit
1d0ebeb2b7
100 changed files with 1909 additions and 6056 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import js from "@eslint/js";
|
||||
import globals from "globals";
|
||||
import tseslint from "typescript-eslint";
|
||||
import solid from "eslint-plugin-solid/configs/typescript";
|
||||
import reactHooks from "eslint-plugin-react-hooks";
|
||||
import * as tsParser from "@typescript-eslint/parser";
|
||||
|
||||
export default [
|
||||
|
|
@ -12,7 +12,6 @@ export default [
|
|||
...tseslint.configs.recommended,
|
||||
{
|
||||
files: ["**/*.{ts,tsx}"],
|
||||
...solid,
|
||||
languageOptions: {
|
||||
parser: tsParser,
|
||||
globals: {
|
||||
|
|
@ -20,5 +19,11 @@ export default [
|
|||
...globals.node,
|
||||
},
|
||||
},
|
||||
plugins: {
|
||||
"react-hooks": reactHooks,
|
||||
},
|
||||
rules: {
|
||||
...reactHooks.configs.recommended.rules,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue