Blame view

src/.eslintrc.js 357 Bytes
36821dd7   张志伟   feat: init
1
2
3
  // eslint-disable-next-line import/no-commonjs
  module.exports = {
    root: true,
3edf0d12   张志伟   🚚 chore(*): 更新依赖
4
5
6
7
8
    extends: ['@modern-js-app', require.resolve('@feewee/fabric/dist/eslint')],
    rules: {
      '@typescript-eslint/type-annotation-spacing': 'off',
      'import/namespace': 'warn',
    },
36821dd7   张志伟   feat: init
9
10
11
12
13
    parserOptions: {
      tsconfigRootDir: __dirname,
      project: ['../tsconfig.json'],
    },
  };