Skip to content

Commit f381df6

Browse files
committed
move inline eslint configuration into .eslintrc.json files
1 parent ad6f2c7 commit f381df6

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

include-fragment-element.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable github/no-then */
2-
31
const privateData = new WeakMap()
42

53
function fire(name, target) {

test/.eslintrc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"globals": {
3+
"assert": true
4+
},
5+
"env": {
6+
"mocha": true
7+
},
8+
"rules": {
9+
"github/unescaped-html-literal": "off"
10+
}
11+
}

test/test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/* eslint-env mocha */
2-
/* eslint-disable github/no-then */
3-
/* global assert */
42

53
let count
64
const responses = {

0 commit comments

Comments
 (0)