Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for linting #287

Merged
merged 3 commits into from
May 30, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
cjbarth marked this conversation as resolved.
Show resolved Hide resolved
18 changes: 18 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"env": {
"node": true,
"mocha": true,
"es6": false
},
"root": true,
"plugins": ["prettier"],
"parserOptions": {
"ecmaVersion": 6
},
"extends": ["eslint:recommended", "prettier"],
cjbarth marked this conversation as resolved.
Show resolved Hide resolved
"rules": {
"no-console": "warn",
"no-unused-vars": "warn",
"no-prototype-builtins": "warn"
}
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ p.txt
*.*~
*.swp
npm-debug.log
/test/validators/XmlCryptoJava/target/
/test/validators/XmlCryptoJava/target/
.eslintcache
7 changes: 7 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Ignore artifacts:
node_modules
package-lock.json
.eslintcache
.prettierignore
test/static/*
test/validators/*
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"printWidth": 100
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"cSpell.words": [
"Canonicalization",
"canonicalize",
"canonicalized",
"codecov",
"wsfederation",
"wssecurity"
]
}
Loading