File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
templates/common/packages/config Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' create-universal-react ' : minor
3+ ---
4+
5+ Fixed error of running linting command from root level
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ extends : [
3+ 'airbnb' ,
4+ 'airbnb/hooks' ,
5+ 'airbnb-typescript' ,
6+ 'plugin:@next/next/recommended' ,
7+ 'prettier'
8+ ] ,
9+ settings : {
10+ next : {
11+ rootDir : [ 'apps/*/' , 'packages/*/' ]
12+ }
13+ } ,
14+ parserOptions : {
15+ project : './tsconfig.json'
16+ } ,
17+ rules : {
18+ '@next/next/no-html-link-for-pages' : 'off' ,
19+ 'react/jsx-key' : 'off' ,
20+ 'import/no-extraneous-dependencies' : 'off' ,
21+ 'react/function-component-definition' : 'off' ,
22+ 'no-restricted-exports' : 'off' ,
23+ 'react/jsx-props-no-spreading' : 'off'
24+ } ,
25+ env : {
26+ browser : true ,
27+ es2021 : true ,
28+ jest : true
29+ }
30+ } ;
You can’t perform that action at this time.
0 commit comments