Update linting rules to cover all js (#82)
This commit is contained in:
parent
a9d99fd135
commit
4a27c280ba
@ -1 +1,2 @@
|
|||||||
|
/lib
|
||||||
fixtures
|
fixtures
|
||||||
|
|||||||
@ -57,7 +57,7 @@ const es2015 = {
|
|||||||
"es6.object.is": "Object static methods / Object.is",
|
"es6.object.is": "Object static methods / Object.is",
|
||||||
"es6.object.set-prototype-of": "Object static methods / Object.setPrototypeOf",
|
"es6.object.set-prototype-of": "Object static methods / Object.setPrototypeOf",
|
||||||
|
|
||||||
"es6.function.name": 'function "name" property',
|
"es6.function.name": "function \"name\" property",
|
||||||
|
|
||||||
"es6.string.raw": "String static methods / String.raw",
|
"es6.string.raw": "String static methods / String.raw",
|
||||||
"es6.string.from-code-point": "String static methods / String.fromCodePoint",
|
"es6.string.from-code-point": "String static methods / String.fromCodePoint",
|
||||||
|
|||||||
@ -46,7 +46,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
"transform-es2015-function-name": {
|
"transform-es2015-function-name": {
|
||||||
features: [
|
features: [
|
||||||
'function "name" property',
|
"function \"name\" property",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"transform-es2015-literals": {
|
"transform-es2015-literals": {
|
||||||
@ -77,8 +77,8 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
"transform-es2015-sticky-regex": {
|
"transform-es2015-sticky-regex": {
|
||||||
features: [
|
features: [
|
||||||
'RegExp "y" and "u" flags / "y" flag, lastIndex',
|
"RegExp \"y\" and \"u\" flags / \"y\" flag, lastIndex",
|
||||||
'RegExp "y" and "u" flags / "y" flag',
|
"RegExp \"y\" and \"u\" flags / \"y\" flag",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
"transform-es2015-template-literals": {
|
"transform-es2015-template-literals": {
|
||||||
@ -93,9 +93,9 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
"transform-es2015-unicode-regex": {
|
"transform-es2015-unicode-regex": {
|
||||||
features: [
|
features: [
|
||||||
'RegExp "y" and "u" flags / "u" flag, case folding',
|
"RegExp \"y\" and \"u\" flags / \"u\" flag, case folding",
|
||||||
'RegExp "y" and "u" flags / "u" flag, Unicode code point escapes',
|
"RegExp \"y\" and \"u\" flags / \"u\" flag, Unicode code point escapes",
|
||||||
'RegExp "y" and "u" flags / "u" flag',
|
"RegExp \"y\" and \"u\" flags / \"u\" flag",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
"transform-regenerator": {
|
"transform-regenerator": {
|
||||||
|
|||||||
@ -11,8 +11,8 @@
|
|||||||
"build": "babel src -d lib",
|
"build": "babel src -d lib",
|
||||||
"build-data": "babel-node ./scripts/build-data.js",
|
"build-data": "babel-node ./scripts/build-data.js",
|
||||||
"dev": "babel -w src -d lib",
|
"dev": "babel -w src -d lib",
|
||||||
"lint": "eslint scripts src test",
|
"lint": "eslint .",
|
||||||
"fix": "eslint scripts src test --fix",
|
"fix": "eslint . --fix",
|
||||||
"ci": "npm run test",
|
"ci": "npm run test",
|
||||||
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
|
"changelog": "git log `git describe --tags --abbrev=0`..HEAD --pretty=format:' * %s (%an)' | grep -v 'Merge pull request'",
|
||||||
"test": "npm run build && mocha ./test --compilers js:babel-register -t 5000"
|
"test": "npm run build && mocha ./test --compilers js:babel-register -t 5000"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user