Skip to content

Commit

Permalink
Disable ESLint until format can be updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 3, 2024
1 parent 774a938 commit 58deaa7
Show file tree
Hide file tree
Showing 3 changed files with 1,597 additions and 8 deletions.
25 changes: 25 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
"env": {
"commonjs": true,
"es2021": true,
},
"extends": "google",
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
},
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"max-len": [
"error",
{
"code": 160,
"ignoreComments": true,
"ignoreUrls": true,
"ignoreStrings": true,
},
],
"one-var": ["error", "consecutive"],
},
};
17 changes: 9 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ on:
push:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install modules
run: npm install
- name: Run ESLint
run: npm run lint
# FIXME: re-enable once upgrading to the new tree-sitter format
# lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install modules
# run: npm install
# - name: Run ESLint
# run: npm run lint

test:
runs-on: ${{ matrix.os }}
Expand Down
Loading

0 comments on commit 58deaa7

Please sign in to comment.