Skip to content

Commit

Permalink
updated linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Oct 25, 2024
1 parent ee81128 commit 84a5f45
Show file tree
Hide file tree
Showing 9 changed files with 6,594 additions and 1,337 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

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) 2023 The City of Sault Ste. Marie
Copyright (c) 2024 The City of Sault Ste. Marie

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
3 changes: 2 additions & 1 deletion eslint.config.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { default } from 'eslint-config-cityssm';
export declare const config: import("@typescript-eslint/utils/ts-eslint").FlatConfig.ConfigArray;
export default config;
17 changes: 16 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
export { default } from 'eslint-config-cityssm';
import cityssmConfig, { cspellWords } from 'eslint-config-cityssm';
import tseslint from 'typescript-eslint';
export const config = tseslint.config(...cityssmConfig, {
rules: {
'@cspell/spellchecker': [
'warn',
{
cspell: {
words: [...cspellWords, 'yyyyddd', 'yyddd']
}
}
],
'@typescript-eslint/no-magic-numbers': 'off'
}
});
export default config;
19 changes: 18 additions & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
export { default } from 'eslint-config-cityssm'
import cityssmConfig, { cspellWords } from 'eslint-config-cityssm'
import tseslint from 'typescript-eslint'

export const config = tseslint.config(...cityssmConfig, {
rules: {
'@cspell/spellchecker': [
'warn',
{
cspell: {
words: [...cspellWords, 'yyyyddd', 'yyddd']
}
}
],
'@typescript-eslint/no-magic-numbers': 'off'
}
})

export default config
Loading

0 comments on commit 84a5f45

Please sign in to comment.