Skip to content

Commit

Permalink
Remove vendor/js code and jQuery from ESLint config and tweak ESLint …
Browse files Browse the repository at this point in the history
…config
  • Loading branch information
pdehaan committed Jun 8, 2018
1 parent 422911a commit 0af3e48
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10,272 deletions.
15 changes: 13 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
module.exports = {
env: {
es6: true,
node: true,
jquery: true,
node: true
},
extends: [
"eslint:recommended",
"plugin:node/recommended",
],
overrides: [
{
files: [
'public/js/**/*.js'
],
env: {
browser: true,
node: false
},
rules: {
"strict": "off"
}
},
{
files: [
'scripts/*.js',
Expand Down
3 changes: 0 additions & 3 deletions public/js/monitor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* eslint-env browser */


"use strict";

function isValidEmail(val) {
Expand Down
2 changes: 0 additions & 2 deletions public/js/vendor/foundation.min.js

This file was deleted.

Loading

0 comments on commit 0af3e48

Please sign in to comment.