feat: use syntax plugin

This commit is contained in:
Sven SAULEAU
2017-05-30 18:35:29 +02:00
parent 03d89b6307
commit 51bd87baa8
8 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
{
"plugins": ["optionalChaining"]
}

View File

@@ -0,0 +1,3 @@
{
"plugins": ["optionalChaining"]
}

View File

@@ -0,0 +1,3 @@
{
"plugins": ["optionalChaining"]
}

View File

@@ -0,0 +1,3 @@
{
"plugins": ["optionalChaining"]
}

View File

@@ -0,0 +1 @@
a?.b

View File

@@ -0,0 +1,3 @@
{
"throws": "You can only use optional-chaining when the 'optionalChaining' plugin is enabled. (1:0)"
}