Skip to content

Commit

Permalink
switch from jshint to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobg committed Dec 2, 2021
1 parent e4232b0 commit e1eb777
Show file tree
Hide file tree
Showing 16 changed files with 9,353 additions and 595 deletions.
20 changes: 20 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"no-console": "off",
"strict": ["error", "global"],
"curly": "warn"
},
"ignorePatterns": [
"*.min.js"
]
}
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ node_modules/

# generated files
dist/
src/browser/plugin.min.js
src/browser/worker.min.js
www/www.min.js
*.min.js
15 changes: 0 additions & 15 deletions .jshintrc

This file was deleted.

Loading

0 comments on commit e1eb777

Please sign in to comment.