Skip to content

Commit

Permalink
add & begin configure eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kaileykaes committed Feb 20, 2024
1 parent f00709a commit 5ab4c51
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 183 deletions.
18 changes: 18 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"use strict";

export default [
{
files: [
"**/*.js",
],
rules: {
"comma-dangle": ["error", {
arrays: "always-multiline",
objects: "always-multiline",
imports: "always-multiline",
exports: "always-multiline",
functions: "never",
}],
},
},
];
Loading

0 comments on commit 5ab4c51

Please sign in to comment.