rule canonical/filename-match-regex: allow -
This commit is contained in:
parent
e5aac3db42
commit
37e5969f56
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vchikalkin/eslint-config-awesome",
|
"name": "@vchikalkin/eslint-config-awesome",
|
||||||
"version": "2.0.4",
|
"version": "2.0.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -3,6 +3,13 @@ module.exports = {
|
|||||||
name: 'Common rules override',
|
name: 'Common rules override',
|
||||||
rules: {
|
rules: {
|
||||||
'canonical/filename-match-exported': 'off',
|
'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': [
|
'func-style': [
|
||||||
'warn',
|
'warn',
|
||||||
'declaration',
|
'declaration',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user