Skip to content

Commit

Permalink
Add missing eslintrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Feb 3, 2024
1 parent 0faedee commit 0e938ce
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ["eslint:recommended"],
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
plugins: [],
rules: {
"no-unused-vars": ["error", { args: "after-used" }],
},
ignorePatterns: [
"jupyter_remote_desktop_proxy/static/dist/**",
"webpack.config.js",
],
};

0 comments on commit 0e938ce

Please sign in to comment.