@eds-open/eslint-config-bundle
v1.2.0
Published
<p> <a href="https://github.com/daichangxin/js.eslint-config-bundle/actions/workflows/npm%20publish.yml"> <img src="https://github.com/daichangxin/js.eslint-config-bundle/actions/workflows/npm%20publish.yml/badge.svg" alt="build status"></a> </p>
Downloads
27
Readme
js.eslint-config-bundle
Sample
eslint
.eslintrc.js
Basic:
module.exports = {
extends: ['@eds-open/eslint-config-bundle/libs/react'],
};
Without babel config:
module.exports = {
extends: ['@eds-open/eslint-config-bundle/libs/react'],
parserOptions: {
requireConfigFile: false,
babelOptions: {
babelrc: false,
configFile: false,
presets: ['@babel/preset-env'],
},
},
};
prettiter
.prettierrc.js
Basic:
module.exports = require('@eds-open/eslint-config-bundle/libs/prettier');
With plugins:
const base = require('@eds-open/eslint-config-bundle/libs/prettier');
module.exports = {
...base,
plugins: [require('prettier-plugin-tailwindcss')],
};