Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: year update in docs - removed md deprecated file - typos - broken links #642

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Protofire
Copyright (c) 2017-2025 Protofire

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ Related documentation you may find [here](https://protofire.github.io/solhint/).

## Table of Contents

* [Roadmap](ROADMAP.md): The core project's roadmap - what the core team is looking to work on in the near future.
* [Contributing](docs/contributing.md): The core Solhint team :heart: contributions. This describes how you can contribute to the Solhint Project.
* [Shareable configs](docs/shareable-configs.md): How to create and share your own configurations.
* [Writing plugins](docs/writing-plugins.md): How to extend Solhint with your own rules.
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/page-footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer class="site-footer">
<span class="site-footer-owner">
&copy;2017-2019, Protofire
&copy;2017-2025, Protofire
</span>
</footer>
42 changes: 0 additions & 42 deletions docs/rules/naming/contract-name-pascalcase.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/rules/naming/interface-starts-with-i.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface IFoo { function foo () external; }

### 👎 Examples of **incorrect** code for this rule

#### Interface name doesnt start with I
#### Interface name doesn't start with I

```solidity
interface Foo { function foo () external; }
Expand Down
3 changes: 1 addition & 2 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"author": "",
"license": "MIT",
"devDependencies": {
"chai": "^4.3.7",
"chai-spies": "^1.0.0",
"chai": "^4.3.7",
"fs-extra": "^11.1.0",
"get-stream": "^6.0.0",
"mocha": "^10.2.0",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/best-practices/interface-starts-with-i.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const meta = {
],
bad: [
{
description: 'Interface name doesnt start with I',
description: `Interface name doesn't start with I`,
code: `interface Foo { function foo () external; }`,
},
],
Expand Down
2 changes: 1 addition & 1 deletion test/rules/gas-consumption/gas-length-in-loops.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ERROR_MSG =
describe('Linter - gas-length-in-loops', () => {
it('should raise error on ForLoop with .length in condition', () => {
const code = funcWith(`
for (uint256 length = 0; length > object.length; legnth++) {
for (uint256 length = 0; length > object.length; length++) {
// code block to be executed
}`)

Expand Down
Loading