Skip to content

Commit 6a2dd17

Browse files
committed
🔧 add dot-notation
1 parent 347aeb7 commit 6a2dd17

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

index.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = [
1414
plugins: { '@stylistic/js': stylisticJS },
1515
rules: {
1616
expressLintConfig: 0,
17+
'dot-notation': ['error'],
1718
semi: ['error', 'always'],
1819
'@stylistic/js/semi': ['error', 'always'],
1920
'@stylistic/semi': ['error', 'always'],

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "eslint-config-express",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "the express eslint config 🔧🔥⚙️",
55
"main": "index.cjs",
66
"scripts": {
7+
"lint": "eslint .",
8+
"lint:fix": "eslint . --fix",
79
"test": "eslint . && node test/test.cjs && node test/test.mjs && node test/test-dynamic.js"
810
},
911
"repository": {

0 commit comments

Comments
 (0)