Skip to content

Commit 94c1bd3

Browse files
committed
Add Arc eslint config
1 parent 96f8a15 commit 94c1bd3

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"scripts": {
1919
"start": "sandbox",
20-
"lint": "eslint src/**/*.mjs",
20+
"lint": "eslint . --fix",
2121
"test": "tape test/*.mjs | tap-arc"
2222
},
2323
"files": [
@@ -43,21 +43,20 @@
4343
"pluralize": "^8.0.0"
4444
},
4545
"devDependencies": {
46+
"@architect/eslint-config": "^2.1.0-RC.0",
4647
"@architect/sandbox": "^5.4.1",
4748
"eslint": "^8.28.0",
4849
"tap-arc": "^0.3.5",
4950
"tape": "^5.6.1",
5051
"tiny-json-http": "^7.4.2"
5152
},
5253
"eslintConfig": {
53-
"env": {
54-
"node": true
55-
},
56-
"extends": "eslint:recommended",
57-
"rules": {},
58-
"parserOptions": {
59-
"sourceType": "module",
60-
"ecmaVersion": 2022
61-
}
54+
"extends": "@architect/eslint-config",
55+
"overrides": [{
56+
"files": [ "*" ],
57+
"rules": {
58+
"filenames/match-regex": [ "error", "^[a-z0-9-_.$]+$", true ]
59+
}
60+
}]
6261
}
6362
}

0 commit comments

Comments
 (0)