Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
superical committed Mar 26, 2024
1 parent 8a4bb0e commit bfb1414
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parser": "@babel/eslint-parser",
"extends": ["airbnb-base", "plugin:prettier/recommended"],
"env": {
"jest": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"globals": {
"artifacts": "readonly",
"contract": "readonly",
"assert": "readonly",
"web3": "writable"
},
"rules": {
"import/extensions": "off",
"import/no-unresolved": "off"
},
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"rules": {
"no-undef": "off",
"no-unused-vars": "off",
"no-restricted-globals": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["**/*.test.*"] }]
}
},
{
"files": ["test/*.js", "benchmark/*.js", "scripts/*.js"],
"plugins": ["chai-friendly", "chai-expect"],
"env": {
"mocha": true
},
"globals": {
"BigInt": "readonly"
},
"rules": {
"no-unused-expressions": "off"
}
}
]
}

0 comments on commit bfb1414

Please sign in to comment.