Skip to content

Commit

Permalink
Revert "refactor: use flat config for eslint (#201)"
Browse files Browse the repository at this point in the history
This reverts commit 1030daf.
  • Loading branch information
aladdin-add committed May 21, 2024
1 parent 5665ad0 commit d9f5ac9
Show file tree
Hide file tree
Showing 14 changed files with 581 additions and 1,352 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.eslintrc.js
32 changes: 32 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"use strict";

module.exports = {
rules: {
"node/no-unpublished-require": "off",
camelcase: [
"error",
{
properties: "never"
}
],
"node/no-extraneous-require": [
"error",
{
allowModules: [
"@octokit/rest"
]
}
]
},
parserOptions: {
ecmaVersion: 8
},
extends: [
"eslint"
],
env: {
node: true,
es6: true
},
root: true
};
38 changes: 0 additions & 38 deletions eslint.config.js

This file was deleted.

Loading

0 comments on commit d9f5ac9

Please sign in to comment.