Skip to content

Commit

Permalink
Merge pull request #11 from kaileykaes/eslint
Browse files Browse the repository at this point in the history
Eslint
  • Loading branch information
hildjj authored Feb 21, 2024
2 parents f00709a + 8688b71 commit a420eb5
Show file tree
Hide file tree
Showing 6 changed files with 239 additions and 286 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 2
24 changes: 0 additions & 24 deletions .eslintrc.cjs

This file was deleted.

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.experimental.useFlatConfig": true
}
11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import mod from "@peggyjs/eslint-config/flat/module.js";

export default [
{
ignores: [
"node_module/**",
"**/*.d.ts",
],
},
mod,
];
Loading

0 comments on commit a420eb5

Please sign in to comment.