We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
npm run lint
1 parent 7b2adfa commit 2e5146eCopy full SHA for 2e5146e
.eslintrc
@@ -0,0 +1,5 @@
1
+{
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+}
package.json
@@ -7,6 +7,8 @@
7
"./package.json": "./package.json"
8
},
9
"scripts": {
10
+ "lint": "eslint --ext=.js,.mjs .",
11
+ "pretest": "npm run lint",
12
"test": "echo \"Error: no test specified\" && exit 1"
13
14
"repository": {
@@ -27,5 +29,9 @@
27
29
"bugs": {
28
30
"url": "https://github.com/inspect-js/is-shared-array-buffer/issues"
31
- "homepage": "https://github.com/inspect-js/is-shared-array-buffer#readme"
32
+ "homepage": "https://github.com/inspect-js/is-shared-array-buffer#readme",
33
+ "devDependencies": {
34
+ "@ljharb/eslint-config": "^17.5.1",
35
+ "eslint": "^7.21.0"
36
+ }
37
}
0 commit comments