Skip to content

Commit

Permalink
Update linting configuration and enforce name constraint in phases ta…
Browse files Browse the repository at this point in the history
…ble (#574)

* lint

* migration

* spellings
  • Loading branch information
thatguyinabeanie authored Dec 6, 2024
1 parent 77ef9e0 commit 4e647df
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor.formatOnSave": false,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.defaultColorDecorators": true,
"editor.defaultColorDecorators": "auto",
"editor.inlayHints.padding": true,

"sonarlint.connectedMode.project": {
Expand Down
4 changes: 4 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@ words:
- Sandslash
- Staryu
- deepcode
- logpanel
- jacoco
- sqltools
- sonarlint
ignoreWords: []
import: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class ChangeNameNullConstraintInPhases < ActiveRecord::Migration[7.2]
def change
change_column_null :phases, :name, false
end
end
4 changes: 2 additions & 2 deletions db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e647df

Please sign in to comment.