Skip to content

Commit

Permalink
chore(.eslintrc.cjs): minimize branch diff
Browse files Browse the repository at this point in the history
  • Loading branch information
bhsd-harry committed Sep 17, 2024
1 parent c4e0820 commit f85b5be
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
18 changes: 15 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ module.exports = {
'no-bitwise': [
2,
{
allow: ['<<'],
allow: [
'<<',
],
},
],
'no-new': 0,
Expand Down Expand Up @@ -89,7 +91,9 @@ module.exports = {
overrides: [
{
...json,
excludedFiles: ['test/parserTests.json'],
excludedFiles: [
'test/parserTests.json',
],
},
{
files: [
Expand Down Expand Up @@ -161,7 +165,9 @@ module.exports = {
},
},
{
files: ['test/*.ts'],
files: [
'test/*.ts',
],
rules: {
'n/no-missing-import': 0,
'n/no-missing-require': 0,
Expand All @@ -174,6 +180,12 @@ module.exports = {
2,
'module.exports',
],
'@stylistic/array-bracket-newline': [
2,
{
minItems: 1,
},
],
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@bhsd/common": "^0.1.1",
"@codemirror/lint": "^6.8.0",
"@types/node": "^20.11.6",
"codejar-async": "^4.2.0",
"codejar-async": "^4.2.3",
"monaco-editor": "^0.51.0",
"v8r": "^3.0.0"
},
Expand Down

0 comments on commit f85b5be

Please sign in to comment.