Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit a99c6e8

Browse files
authored
Update ESLint configuration (#5)
* Update ESLint repository configuration [atomist:generated] [atomist-skill:atomist/eslint-skill] Pull request auto merged: * 1 approved review by @cdupuis * 1 successful check
1 parent 41c0ccb commit a99c6e8

File tree

4 files changed

+48
-88
lines changed

4 files changed

+48
-88
lines changed

.eslintignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
node_modules
21
*.d.ts
3-
/lib/typings/types.ts
2+
**/typings/types.ts

.eslintrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"error",
2828
{
2929
"arrowParens": "avoid",
30+
"quoteProps": "consistent",
3031
"trailingComma": "all",
31-
"tabWidth": 4,
32-
"printWidth": 120
32+
"useTabs": true
3333
}
3434
]
3535
}

package-lock.json

Lines changed: 38 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"@graphql-codegen/typescript-operations": "^1.17.0",
1313
"@types/mocha": "^7.0.2",
1414
"@types/power-assert": "^1.5.3",
15-
"@typescript-eslint/eslint-plugin": "^3.5.0",
16-
"@typescript-eslint/parser": "^3.5.0",
15+
"@typescript-eslint/eslint-plugin": "^3.6.1",
16+
"@typescript-eslint/parser": "^3.6.1",
1717
"eslint": "^7.4.0",
1818
"eslint-config-prettier": "^6.11.0",
1919
"eslint-plugin-prettier": "^3.1.4",
@@ -29,7 +29,7 @@
2929
"supervisor": "^0.12.0",
3030
"ts-node": "^8.10.2",
3131
"typedoc": "^0.17.8",
32-
"typescript": "^3.9.6"
32+
"typescript": "^3.9.7"
3333
},
3434
"directories": {
3535
"test": "test"
@@ -60,7 +60,8 @@
6060
"skill:bundle": "atm-skill bundle --minify --source-map",
6161
"skill:package": "atm-skill package",
6262
"skill:register": "atm-skill register",
63-
"atm:lint:prettier": "prettier --write"
63+
"atm:lint:prettier": "prettier --write",
64+
"atm:lint:eslint": "eslint --fix"
6465
},
6566
"engines": {
6667
"node": ">=8.2.0",
@@ -72,6 +73,7 @@
7273
}
7374
},
7475
"lint-staged": {
75-
"**/*.@(graphql|json|markdown|yaml|yml|md)": "npm run atm:lint:prettier"
76+
"**/*.@(graphql|json|markdown|yaml|yml|md)": "npm run atm:lint:prettier",
77+
"**/*.ts": "npm run atm:lint:eslint"
7678
}
7779
}

0 commit comments

Comments
 (0)