diff --git a/example/.eslintcache b/example/.eslintcache new file mode 100644 index 0000000..8de4d4a --- /dev/null +++ b/example/.eslintcache @@ -0,0 +1 @@ +[{"/Users/eduardo.sborges/Projects/bemfy/example/src/index.tsx":"1","/Users/eduardo.sborges/Projects/bemfy/example/src/App.tsx":"2"},{"size":164,"mtime":1606917065471,"results":"3","hashOfConfig":"4"},{"size":388,"mtime":1607183399298,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"8"},"hqcrqe",{"filePath":"9","messages":"10","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/eduardo.sborges/Projects/bemfy/example/src/index.tsx",[],["11","12"],"/Users/eduardo.sborges/Projects/bemfy/example/src/App.tsx",[],{"ruleId":"13","replacedBy":"14"},{"ruleId":"15","replacedBy":"16"},"no-native-reassign",["17"],"no-negated-in-lhs",["18"],"no-global-assign","no-unsafe-negation"] \ No newline at end of file diff --git a/example/src/App.tsx b/example/src/App.tsx index 0352433..790acf6 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,3 +1,4 @@ +// @ts-ignore import React from 'react'; import bemfy, { c } from 'bemfy' diff --git a/example/tsconfig.json b/example/tsconfig.json index c4063c7..902854f 100644 --- a/example/tsconfig.json +++ b/example/tsconfig.json @@ -7,7 +7,7 @@ "esnext" ], "moduleResolution": "node", - "jsx": "react", + "jsx": "react-jsx", "sourceMap": true, "declaration": true, "esModuleInterop": true, @@ -26,7 +26,8 @@ "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "isolatedModules": true, - "noEmit": true + "noEmit": true, + "noFallthroughCasesInSwitch": true }, "include": [ "src"