diff --git a/.eslintrc.js b/.eslintrc.js index 77cbdd6..968807b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,6 @@ module.exports = { - 'parser': 'typescript-eslint-parser', + "parser": "@typescript-eslint/parser", + "plugins": ["@typescript-eslint"], 'globals': { 'Pretender': true, 'sinon': true, // karma-sinon @@ -11,7 +12,7 @@ module.exports = { 'jquery': true, 'qunit': true, }, - 'extends': 'eslint:recommended', + 'extends': ['eslint:recommended', "plugin:@typescript-eslint/recommended"], 'parserOptions': { 'ecmaVersion': 2015, 'sourceType': 'module' diff --git a/.jshintrc b/.jshintrc deleted file mode 100644 index e678534..0000000 --- a/.jshintrc +++ /dev/null @@ -1,45 +0,0 @@ -{ - "predef": [ - "self", - "require", - "module", - "define", - "process" - ], - "globals": { - "console":false - }, - "expr": true, - "proto": true, - "strict": true, - "indent": 2, - "camelcase": true, - "node": false, - "browser": true, - "boss": true, - "curly": true, - "latedef": "nofunc", - "debug": false, - "devel": false, - "eqeqeq": true, - "evil": true, - "forin": false, - "immed": false, - "laxbreak": false, - "newcap": true, - "noarg": true, - "noempty": false, - "quotmark": true, - "nonew": false, - "nomen": false, - "onevar": false, - "plusplus": false, - "regexp": false, - "undef": true, - "unused": true, - "sub": true, - "trailing": true, - "white": false, - "eqnull": true, - "esnext": false -} diff --git a/demo.html b/demo.html new file mode 100644 index 0000000..7d2e826 --- /dev/null +++ b/demo.html @@ -0,0 +1,67 @@ + +
+ +