-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.js
More file actions
30 lines (29 loc) · 802 Bytes
/
next.js
File metadata and controls
30 lines (29 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
'use strict'
module.exports = {
extends: ['next'],
ignorePatterns: ['.next', 'out'],
parserOptions: {
ecmaFeatures: {
jsx: true,
modules: true
},
sourceType: 'module'
},
rules: {
// This rule will be removed in the next major version. Use 'bloq/esm' instead.
'import/order': [
'warn',
{
'alphabetize': { caseInsensitive: true, order: 'asc' },
'groups': [['builtin', 'external'], ['internal', 'parent'], 'sibling'],
'newlines-between': 'always'
}
],
'react/jsx-sort-props': 'warn',
'react/no-unknown-property': 'error',
'react/prop-types': 'off',
'react/react-in-jsx-scope': 'off',
// This rule will be removed in the next major version. Use 'bloq/esm' instead.
'sort-imports': 'off'
}
}