eslint-config-liuxsen
v0.0.7
Published
eslint-config-liuxsen
Downloads
17
Readme
eslint-config-liuxsen
npm pacakge
使用babel-eslint 代替默认的 解析器
ESLint解析中出现意外的令牌错误是由于开发环境与ESLint当前的解析功能之间的不兼容以及JavaScripts ES6~7的持续更改
js 项目
module.exports = {
root: true,
extends: ['liuxsen']
};
reactjs 项目
npm i eslint eslint-plugin-react
module.exports = {
root: true,
extends: ['liuxsen/react']
};
vue 项目
npm i eslint eslint-plugin-vue
module.exports = {
root: true,
extends: ['liuxsen/vue']
};