Browse Source

add ESLint config, etc.

master
Conduitry 2 months ago
parent
commit
3bee48b548
3 changed files with 16 additions and 0 deletions
  1. +6
    -0
      .eslintrc.js
  2. +5
    -0
      .gitignore
  3. +5
    -0
      package.json

+ 6
- 0
.eslintrc.js View File

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

+ 5
- 0
.gitignore View File

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

+ 5
- 0
package.json View File

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

Loading…
Cancel
Save