Skip to content

Commit 196a615

Browse files
committed
fix misc issues
1 parent d6d0efb commit 196a615

File tree

5 files changed

+21
-60
lines changed

5 files changed

+21
-60
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ convertLib.sol
66
/coverage/
77
/docs/_site/
88
/docs/Gemfile*
9-
antlr4.jar
109
/docs/.sass-cache/
1110
_temp/
1211
*solhintReport*.*

lib/common/ast-printer.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

lib/config/config-schema.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
const baseConfigProperties = {
2-
rules: { type: 'object' },
3-
excludedFiles: { type: 'array' },
2+
rules: { type: 'object', additionalProperties: true },
3+
excludedFiles: { type: 'array', items: { type: 'string' } },
4+
plugins: { type: 'array', items: { type: 'string' } },
45
extends: { anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }] },
56
globals: { type: 'object' },
67
env: { type: 'object' },
78
parserOptions: { type: 'object' },
8-
plugins: { type: 'array' },
9+
10+
// Runtime options (CLI / engine)
11+
cache: { type: 'boolean' },
12+
cacheLocation: { type: 'string' },
913
}
1014

1115
const configSchema = {

package-lock.json

Lines changed: 14 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"@solidity-parser/parser": "^0.20.2",
4444
"ajv": "^6.12.6",
4545
"ajv-errors": "^1.0.1",
46-
"antlr4": "^4.13.1-patch-1",
4746
"ast-parents": "^0.0.1",
4847
"better-ajv-errors": "^2.0.2",
4948
"chalk": "^4.1.2",

0 commit comments

Comments
 (0)