rule canonical/filename-match-regex: allow -
This commit is contained in:
parent
e5aac3db42
commit
37e5969f56
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vchikalkin/eslint-config-awesome",
|
||||
"version": "2.0.4",
|
||||
"version": "2.0.5",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
|
||||
@ -3,6 +3,13 @@ module.exports = {
|
||||
name: 'Common rules override',
|
||||
rules: {
|
||||
'canonical/filename-match-exported': 'off',
|
||||
'canonical/filename-match-regex': [
|
||||
1,
|
||||
{
|
||||
ignoreExporting: false,
|
||||
regex: '^[A-Za-z]+(?:[A-Za-z0-9-]*\\.[A-Za-z0-9-]+)*\\d*$',
|
||||
},
|
||||
],
|
||||
'func-style': [
|
||||
'warn',
|
||||
'declaration',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user