mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
Some packages were updated to versions that now use ECMAScript modules, so this repo was updated to use ES modules using Node.js built-in support. Update was done using the great guide from @sindresorhus: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
29 lines
613 B
JSON
29 lines
613 B
JSON
{
|
|
"extends": ["airbnb-base", "prettier", "plugin:node/recommended"],
|
|
"plugins": ["prettier"],
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module"
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": {
|
|
"extensions": [".js"]
|
|
}
|
|
}
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"no-console": "off",
|
|
"no-process-exit": "off",
|
|
"node/no-unpublished-require": "off",
|
|
"node/no-unpublished-import": "off",
|
|
"node/no-unsupported-features/es-syntax": "off",
|
|
"import/extensions": [
|
|
"error",
|
|
{
|
|
"js": "always"
|
|
}
|
|
]
|
|
}
|
|
}
|