Skip to content

Commit

Permalink
fix: add preact eslint to api
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Dec 2, 2022
1 parent f615c55 commit 9a0c9f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions packages/access-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,13 @@
},
"eslintConfig": {
"extends": [
"./node_modules/hd-scripts/eslint/index.js"
"./node_modules/hd-scripts/eslint/preact.js"
],
"parserOptions": {
"project": "./tsconfig.json"
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"VERSION": "readonly",
Expand Down
7 changes: 2 additions & 5 deletions packages/access-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,10 @@
},
"eslintConfig": {
"extends": [
"./node_modules/hd-scripts/eslint/preact.js"
"./node_modules/hd-scripts/eslint/index.js"
],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
}
"project": "./tsconfig.json"
},
"rules": {
"unicorn/prefer-number-properties": "off",
Expand Down

0 comments on commit 9a0c9f8

Please sign in to comment.