Skip to content

Commit

Permalink
Merge pull request #23 from iden3/feat/spellcheck
Browse files Browse the repository at this point in the history
add spellchecker
  • Loading branch information
vmidyllic authored Sep 10, 2024
2 parents c388473 + 89d8a1e commit 28b6dcc
Show file tree
Hide file tree
Showing 7 changed files with 1,724 additions and 337 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

33 changes: 33 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
const iden3Config = require('@iden3/eslint-config');
const { spellcheckerRule, cspellConfig } = require('@iden3/eslint-config/cspell');

module.exports = {
...iden3Config,
rules: {
'@cspell/spellchecker': [
1,
{
...spellcheckerRule,
cspell: {
...cspellConfig,
ignoreWords: [
'dtau',
'escalar',
'pleft',
'pright',
'unstringify',
'bxor',
'nullt',
'msglen',
'negone',
'tonelli',
'nres',
'idiv',
'newr',
'bnot'
]
}
}
]
}
};
Loading

0 comments on commit 28b6dcc

Please sign in to comment.