Skip to content

Commit

Permalink
Add support for linting (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth authored May 30, 2023
1 parent 8960954 commit f9657b5
Show file tree
Hide file tree
Showing 8 changed files with 1,064 additions and 50 deletions.
Empty file added .eslintignore
Empty file.
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"node": true,
"mocha": true,
"es6": false
},
"root": true,
"parserOptions": {
"ecmaVersion": 6
},
"extends": ["eslint:recommended", "prettier"],
"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

0 comments on commit f9657b5

Please sign in to comment.