File tree Expand file tree Collapse file tree 2 files changed +42
-3
lines changed Expand file tree Collapse file tree 2 files changed +42
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extends": "solhint:recommended",
3
+ "rules": {
4
+ "compiler-version": [
5
+ "error",
6
+ "^0.8.0"
7
+ ],
8
+ "func-visibility": [
9
+ "error",
10
+ {
11
+ "ignoreConstructors": true
12
+ }
13
+ ],
14
+ "not-rely-on-time": "off",
15
+ "no-empty-blocks": "warn",
16
+ "max-line-length": [
17
+ "warn",
18
+ 145
19
+ ],
20
+ "reason-string": [
21
+ "warn",
22
+ {
23
+ "maxLength": 145
24
+ }
25
+ ],
26
+ "state-visibility": "error",
27
+ "var-name-mixedcase": "warn",
28
+ "func-name-mixedcase": "warn",
29
+ "private-vars-leading-underscore": [
30
+ "warn",
31
+ {
32
+ "strict": false
33
+ }
34
+ ],
35
+ "ordering": "warn",
36
+ "reentrancy": "error",
37
+ "avoid-low-level-calls": "warn",
38
+ "operator-whitespace": "off"
39
+ }
40
+ }
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: MIT
2
2
pragma solidity ^ 0.8.0 ;
3
3
4
- import { IAccessControlUpgradeable } from
5
- "openzeppelin-contracts-upgradeable/contracts/access/IAccessControlUpgradeable.sol " ;
4
+ import { IAccessControl } from "openzeppelin-contracts/contracts/access/IAccessControl.sol " ;
6
5
7
- interface IAccessControlFacet is IAccessControlUpgradeable {
6
+ interface IAccessControlFacet is IAccessControl {
8
7
/// @notice Error definitions from AccessControl
9
8
error AccessControlUnauthorized (address account , bytes32 role );
10
9
error AccessControlBadConfirmation ();
You can’t perform that action at this time.
0 commit comments