Skip to content

Commit d006b8c

Browse files
committed
Fix linting
1 parent c31e17c commit d006b8c

File tree

6 files changed

+217
-3
lines changed

6 files changed

+217
-3
lines changed

components/dash-core-components/.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"react",
3030
"import"
3131
],
32+
"parser": "@babel/eslint-parser",
3233
"rules": {
3334
"accessor-pairs": ["error"],
3435
"block-scoped-var": ["error"],
@@ -43,7 +44,7 @@
4344
"import/named": ["off"],
4445
"import/namespace": ["off"],
4546
"import/no-duplicates": ["error"],
46-
"import/no-named-as-default": ["error"],
47+
"import/no-named-as-default": ["off"],
4748
"import/no-unresolved": ["off"],
4849
"new-cap": ["error", {
4950
"capIsNewExceptionPattern": "Immutable\\.*"

components/dash-core-components/package-lock.json

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/dash-core-components/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"devDependencies": {
6767
"@babel/cli": "^7.25.6",
6868
"@babel/core": "^7.25.2",
69+
"@babel/eslint-parser": "^7.25.8",
6970
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
7071
"@babel/preset-env": "^7.25.4",
7172
"@babel/preset-react": "^7.24.7",

components/dash-html-components/.eslintrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"globals": {
3030
"jest": true
3131
},
32+
"parser": "@babel/eslint-parser",
3233
"plugins": [
3334
"react",
3435
"import"
@@ -45,7 +46,7 @@
4546
"guard-for-in": ["off"],
4647
"import/named": ["off"],
4748
"import/no-duplicates": ["error"],
48-
"import/no-named-as-default": ["error"],
49+
"import/no-named-as-default": ["off"],
4950
"new-cap": ["error"],
5051
"no-alert": [1],
5152
"no-caller": ["error"],
@@ -111,7 +112,7 @@
111112
}],
112113
"no-unused-vars": ["error", {
113114
"args": "after-used",
114-
"argsIgnorePattern": "^_",
115+
"argsIgnorePattern": "(^_|n_clicks_timestamp)",
115116
"caughtErrorsIgnorePattern": "^e$"
116117
}],
117118
"no-magic-numbers": ["error", {

components/dash-html-components/package-lock.json

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

components/dash-html-components/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"devDependencies": {
3535
"@babel/cli": "^7.25.6",
3636
"@babel/core": "^7.25.2",
37+
"@babel/eslint-parser": "^7.25.8",
3738
"@babel/preset-env": "^7.25.4",
3839
"@babel/preset-react": "^7.24.7",
3940
"babel-loader": "^9.1.3",

0 commit comments

Comments
 (0)