Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
davikstone2 committed Jan 23, 2024
1 parent 1a5f5ff commit a8e9df7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Lint

on:
push:
branches: [ "staging","master" ]
branches: [ "staging","master", "feature/add-eslint" ]
pull_request:
branches: [ staging ,"master"]
branches: [ staging ,"master", "feature/add-eslint"]

jobs:
lint:
Expand Down
10 changes: 0 additions & 10 deletions web/saito/lib/glide/.eslintrc

This file was deleted.

23 changes: 23 additions & 0 deletions web/saito/lib/glide/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
jquery: true,
},
extends: [
// 'airbnb-base',
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 13,
sourceType: "module",
},
plugins: ["@typescript-eslint"],
rules: {
"prefer-const": 0,
},
};

0 comments on commit a8e9df7

Please sign in to comment.