Skip to content

Commit

Permalink
Use neostandard (standardjs's fork) to better replicate the old e…
Browse files Browse the repository at this point in the history
…slint config
  • Loading branch information
oriori1703 committed Feb 9, 2025
1 parent 8431408 commit 01e7ef8
Show file tree
Hide file tree
Showing 3 changed files with 5,227 additions and 518 deletions.
21 changes: 6 additions & 15 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
import pluginJs from "@eslint/js";
import neostandard from 'neostandard'


/** @type {import('eslint').Linter.Config[]} */
export default [
pluginJs.configs.recommended,
{
rules:{
'no-unused-vars': 'off',
},
languageOptions: {
globals: {
export default neostandard({
semi: true,
globals: {
"Arm64Relocator": "readonly",
"Arm64Writer": "readonly",
"Checksum": "readonly",
Expand Down Expand Up @@ -38,7 +31,5 @@ export default [
"ptr": "readonly",
"int64": "readonly",
"uint64": "readonly",
},
}
}
];
},
})
Loading

0 comments on commit 01e7ef8

Please sign in to comment.