diff options
author | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2022-05-18 08:36:27 +0300 |
---|---|---|
committer | Antenore Gatta (tmow) <antenore@simbiosi.org> | 2022-05-18 08:36:27 +0300 |
commit | ac71635f799ea4bfeebb7889871dd283c75baa79 (patch) | |
tree | 47e9b23184dc26c1f493d628a2341448039a6086 /plugins/www | |
parent | 2d95d4cfd19ba2f6a8aa737d29f031f019fc2fd0 (diff) |
js linting resources
Diffstat (limited to 'plugins/www')
-rw-r--r-- | plugins/www/resources/js/.eslintrc.json | 13 | ||||
-rw-r--r-- | plugins/www/resources/js/package.json | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/plugins/www/resources/js/.eslintrc.json b/plugins/www/resources/js/.eslintrc.json new file mode 100644 index 000000000..8f6a4155d --- /dev/null +++ b/plugins/www/resources/js/.eslintrc.json @@ -0,0 +1,13 @@ +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "rules": { + } +} diff --git a/plugins/www/resources/js/package.json b/plugins/www/resources/js/package.json new file mode 100644 index 000000000..70b8fe848 --- /dev/null +++ b/plugins/www/resources/js/package.json @@ -0,0 +1,11 @@ +{ + "name": "js", + "version": "1.0.0", + "description": "", + "main": "www-js.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Antenore Gatta", + "license": "GPL-2.0" +} |