Skip to content

Commit

Permalink
Update .eslintrc.cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-blazer committed Nov 12, 2023
1 parent 443d078 commit 7f5c732
Showing 1 changed file with 21 additions and 24 deletions.
45 changes: 21 additions & 24 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
env: {
browser: true,
es2021: true,
},
extends: "eslint:recommended",
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
"extends": "eslint:recommended",
"overrides": [
{
"env": {
"node": true
},
"files": [
".eslintrc.{js,cjs}"
],
"parserOptions": {
"sourceType": "script"
}
}
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
}
}
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
rules: {},
};

0 comments on commit 7f5c732

Please sign in to comment.