Skip to content

Commit

Permalink
import の eslit を設定する
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Nov 7, 2023
1 parent f6a74f4 commit 3631612
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 146 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"dist"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "6.8.0",
"@typescript-eslint/parser": "6.8.0",
"eslint": "8.52.0",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.1",
"prettier": "3.0.3",
Expand Down
22 changes: 13 additions & 9 deletions packages/e2ee/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,27 @@
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"plugins": ["@typescript-eslint", "prettier"],
"globals": {
"SORA_JS_SDK_VERSION": true
},
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "all",
"argsIgnorePattern": "^_"
}],
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "all",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "import",
"format": ["camelCase", "UPPER_CASE", "PascalCase"]
},
{
"selector": "default",
"format": ["camelCase"]
Expand Down
22 changes: 13 additions & 9 deletions packages/sdk/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,27 @@
"sourceType": "module",
"project": ["./tsconfig.json"]
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"plugins": ["@typescript-eslint", "prettier"],
"globals": {
"SORA_JS_SDK_VERSION": true
},
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "all",
"argsIgnorePattern": "^_"
}],
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "all",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "import",
"format": ["camelCase", "UPPER_CASE", "PascalCase"]
},
{
"selector": "default",
"format": ["camelCase"]
Expand Down
Loading

0 comments on commit 3631612

Please sign in to comment.