ci: add phpcs and eslint linting workflow
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2021,
|
||||
"sourceType": "script"
|
||||
},
|
||||
"rules": {
|
||||
"no-unused-vars": "warn",
|
||||
"no-console": "off",
|
||||
"semi": ["error", "always"],
|
||||
"eqeqeq": ["error", "always"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user