@abdullahceylan/eslint-config 中文文档教程
@abdullahceylan/eslint-config
我使用过的 ESLint 配置。
Install
npm install --save-dev @abdullahceylan/eslint-config
或
yarn add --dev @abdullahceylan/eslint-config
Usage
- Create
.eslintrc.js
folder into root directory - Paste following:
module.exports = {
parser: 'babel-eslint',
extends: [
'@abdullahceylan/eslint-config',
],
env: {
es6: true,
},
rules: {
// your own rules
},
};
@abdullahceylan/eslint-config
ESLint configurations that I've used.
Install
npm install --save-dev @abdullahceylan/eslint-config
or
yarn add --dev @abdullahceylan/eslint-config
Usage
- Create
.eslintrc.js
folder into root directory - Paste following:
module.exports = {
parser: 'babel-eslint',
extends: [
'@abdullahceylan/eslint-config',
],
env: {
es6: true,
},
rules: {
// your own rules
},
};