1 Star 0 Fork 0

三字经 / electron-react-boilerplate

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
.eslintrc.js 712 Bytes
Copy Edit Raw Blame History
Amila Welihinda authored 2020-12-10 22:04 . v2.0.0 (#2661)
module.exports = {
extends: 'erb',
rules: {
// A temporary hack related to IDE not resolving correct package.json
'import/no-extraneous-dependencies': 'off',
},
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
project: './tsconfig.json',
tsconfigRootDir: __dirname,
createDefaultProgram: true,
},
settings: {
'import/resolver': {
// See https://github.com/benmosher/eslint-plugin-import/issues/1396#issuecomment-575727774 for line below
node: {},
webpack: {
config: require.resolve('./.erb/configs/webpack.config.eslint.js'),
},
},
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
},
};
1
https://gitee.com/mll/electron-react-boilerplate.git
git@gitee.com:mll/electron-react-boilerplate.git
mll
electron-react-boilerplate
electron-react-boilerplate
master

Search