Skip to content

Commit

Permalink
Adding eslint plugin for offline assist
Browse files Browse the repository at this point in the history
  • Loading branch information
Tzrlk committed Apr 25, 2023
1 parent 11844dd commit 2c552d5
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 38 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@

module.exports = {
plugins: [
'compat',
],
extends: [
'eslint:recommended',
'plugin:compat/recommended',
],
env: {
node: true,
es6: true
Expand All @@ -22,7 +29,6 @@ module.exports = {
ecmaVersion: 2018,
sourceType: 'module'
},
extends: 'eslint:recommended',
rules: {
'semi': ["error", "always"],
'indent': ['error', 2],
Expand Down
Loading

0 comments on commit 2c552d5

Please sign in to comment.