Skip to content

Commit 06f7906

Browse files
ota-meshigucong3000
authored andcommitted
Fixed not working with @babel/core@7.0.0. (stylelint#33)
* Fixed not working with @babel/core@7.0.0. * Like "baleb-eslint" set "decoratorsBeforeExport": false.
1 parent dd851fd commit 06f7906

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

extract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const plugins = [
5555
"jsx",
5656
"typescript",
5757
"objectRestSpread",
58-
"decorators",
58+
["decorators", { "decoratorsBeforeExport": false }],
5959
"classProperties",
6060
"exportExtensions",
6161
"asyncGenerators",

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@
3838
"check-coverage": true
3939
},
4040
"scripts": {
41-
"test": "nyc mocha --no-timeouts"
41+
"test": "nyc mocha --no-timeouts",
42+
"debug": "mocha --inspect --debug-brk --no-timeouts"
4243
},
4344
"dependencies": {
44-
"@babel/core": "^7.0.0-rc.1"
45+
"@babel/core": "^7.0.0"
4546
},
4647
"optionalDependencies": {
4748
"postcss-styled": ">=0.33.0"

0 commit comments

Comments
 (0)