add ESLint config, etc.

This commit is contained in:
Conduitry 2020-04-05 16:50:42 -04:00
parent 11cc2c8682
commit 3bee48b548
3 changed files with 16 additions and 0 deletions

6
.eslintrc.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
root: true,
extends: '@conduitry',
env: { node: false },
globals: { GM: 'readable', unsafeWindow: 'readable' },
};

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
/node_modules/
/package-lock.json
/pnpm-lock.yaml
/shrinkwrap.yaml
/yarn.lock

5
package.json Normal file
View File

@ -0,0 +1,5 @@
{
"devDependencies": {
"@conduitry/eslint-config": "git+https://chor.date/eslint-config"
}
}