Skip to content

Commit

Permalink
feat(lint): skip dist while linting, add mdx and react<18 support
Browse files Browse the repository at this point in the history
  • Loading branch information
McManning committed Dec 21, 2022
1 parent 3f89c1c commit c6a2af8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lint/templates/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:mdx/recommended",
"plugin:import/errors",
"plugin:import/typescript",
"prettier"
Expand All @@ -20,9 +21,13 @@
},
"settings": {
"react": {
"version": "18"
"version": "detect"
}
},
"ignorePatterns": [
"/node_modules",
"/dist"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/camelcase": "off",
Expand Down Expand Up @@ -77,6 +82,6 @@
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 10
"ecmaVersion": 12
}
}
}

0 comments on commit c6a2af8

Please sign in to comment.