mirror of
https://github.com/threeal/cmake-action.git
synced 2025-04-23 03:51:20 +00:00
* build: initialize JavaScript action project * chore(dependabot): check for npm package updates * style: ignore `main` dir and `README.md` from being formatted * ci: add Build workflow that contains Build Package job * ci: add Test Package job in the Test workflow * test: add an empty `main.test.ts` test * chore: adjust Git attributes for `main/index.mjs` file * docs(readme): add a build status badge
29 lines
613 B
JSON
29 lines
613 B
JSON
{
|
|
"root": true,
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2022,
|
|
"sourceType": "module"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.mts", "**/*.ts"],
|
|
"extends": ["plugin:@typescript-eslint/recommended"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": ["tsconfig.eslint.json"]
|
|
},
|
|
"plugins": ["@typescript-eslint", "eslint-plugin-tsdoc"],
|
|
"rules": {
|
|
"tsdoc/syntax": "error"
|
|
}
|
|
},
|
|
{
|
|
"files": ["**/*.test.*"],
|
|
"env": {
|
|
"jest": true
|
|
}
|
|
}
|
|
]
|
|
}
|