Skip to content

Commit

Permalink
remove all lintng errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmin2 committed Dec 19, 2023
1 parent 57c78e7 commit 0f2bc17
Show file tree
Hide file tree
Showing 10 changed files with 370 additions and 228 deletions.
114 changes: 0 additions & 114 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
parser: "esprima"
parser: "@typescript-eslint/parser"

env:
node: true
Expand All @@ -14,7 +14,7 @@ extends:
- plugin:sonarjs/recommended

parserOptions:
ecmaVersion: 2018
ecmaVersion: 2017

rules:
# Ignore Rules
Expand Down
40 changes: 20 additions & 20 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
module.exports = {
'schemas': {
'2.0.0': require('./schemas/2.0.0.json'),
'2.1.0': require('./schemas/2.1.0.json'),
'2.2.0': require('./schemas/2.2.0.json'),
'2.3.0': require('./schemas/2.3.0.json'),
'2.4.0': require('./schemas/2.4.0.json'),
'2.5.0': require('./schemas/2.5.0.json'),
'2.6.0': require('./schemas/2.6.0.json'),
'3.0.0': require('./schemas/3.0.0.json'),
},
'schemasWithoutId': {
'2.0.0': require('./schemas/2.0.0-without-$id.json'),
'2.1.0': require('./schemas/2.1.0-without-$id.json'),
'2.2.0': require('./schemas/2.2.0-without-$id.json'),
'2.3.0': require('./schemas/2.3.0-without-$id.json'),
'2.4.0': require('./schemas/2.4.0-without-$id.json'),
'2.5.0': require('./schemas/2.5.0-without-$id.json'),
'2.6.0': require('./schemas/2.6.0-without-$id.json'),
'3.0.0': require('./schemas/3.0.0-without-$id.json'),
}
schemas: {
'2.0.0': require('./schemas/2.0.0.json'),
'2.1.0': require('./schemas/2.1.0.json'),
'2.2.0': require('./schemas/2.2.0.json'),
'2.3.0': require('./schemas/2.3.0.json'),
'2.4.0': require('./schemas/2.4.0.json'),
'2.5.0': require('./schemas/2.5.0.json'),
'2.6.0': require('./schemas/2.6.0.json'),
'3.0.0': require('./schemas/3.0.0.json'),
},
schemasWithoutId: {
'2.0.0': require('./schemas/2.0.0-without-$id.json'),
'2.1.0': require('./schemas/2.1.0-without-$id.json'),
'2.2.0': require('./schemas/2.2.0-without-$id.json'),
'2.3.0': require('./schemas/2.3.0-without-$id.json'),
'2.4.0': require('./schemas/2.4.0-without-$id.json'),
'2.5.0': require('./schemas/2.5.0-without-$id.json'),
'2.6.0': require('./schemas/2.6.0-without-$id.json'),
'3.0.0': require('./schemas/3.0.0-without-$id.json'),
}
};
Loading

0 comments on commit 0f2bc17

Please sign in to comment.