Skip to content

Commit 59ab0ed

Browse files
committed
feat: distDir, resolveNextModule, prettier configs
1 parent d89a626 commit 59ab0ed

14 files changed

+1468
-719
lines changed

.eslintrc.js

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
const { overrides } = require("@netlify/eslint-config-node/react_config");
1+
const { overrides } = require('@netlify/eslint-config-node/react_config')
22

33
module.exports = {
4-
extends: "@netlify/eslint-config-node/react_config",
4+
extends: '@netlify/eslint-config-node/react_config',
55
rules: {
6-
"max-depth": 0,
6+
'max-depth': 0,
77
complexity: 0,
8-
"fp/no-let": 0,
9-
"fp/no-loops": 0,
10-
"fp/no-mutation": 0,
11-
"fp/no-mutating-methods": 0,
12-
"id-length": 0,
13-
"max-statements": 0,
14-
"no-await-in-loop": 0,
15-
"node/exports-style": 0,
16-
"node/global-require": 0,
17-
"node/prefer-global/process": 0,
18-
"no-magic-numbers": 0,
19-
"no-param-reassign": 0,
20-
"no-promise-executor-return": 0,
21-
"no-prototype-builtins": 0,
22-
"no-shadow": 0,
23-
"no-unused-vars": 0,
24-
"prefer-regex-literals": 0,
25-
"promise/prefer-await-to-callbacks": 0,
26-
"require-await": 0,
27-
"unicorn/consistent-function-scoping": 0,
28-
"unicorn/filename-case": 0,
29-
"unicorn/no-array-push-push": 0,
8+
'fp/no-let': 0,
9+
'fp/no-loops': 0,
10+
'fp/no-mutation': 0,
11+
'fp/no-mutating-methods': 0,
12+
'id-length': 0,
13+
'max-statements': 0,
14+
'no-await-in-loop': 0,
15+
'node/exports-style': 0,
16+
'node/global-require': 0,
17+
'node/prefer-global/process': 0,
18+
'no-magic-numbers': 0,
19+
'no-param-reassign': 0,
20+
'no-promise-executor-return': 0,
21+
'no-prototype-builtins': 0,
22+
'no-shadow': 0,
23+
'no-unused-vars': 0,
24+
'prefer-regex-literals': 0,
25+
'promise/prefer-await-to-callbacks': 0,
26+
'require-await': 0,
27+
'unicorn/consistent-function-scoping': 0,
28+
'unicorn/filename-case': 0,
29+
'unicorn/no-array-push-push': 0,
3030
},
3131
env: {
3232
jest: true,
3333
},
3434
overrides: [...overrides],
35-
};
35+
}

.prettierignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Markdown
2+
*.md
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
9+
# Dependency directories
10+
node_modules
11+
12+
# Optional npm cache directory
13+
.npm
14+
15+
# Optional REPL history
16+
.node_repl_history
17+
.next
18+
.netlify
19+
.parcel-cache
20+
21+
# Test
22+
test
23+
demo

.prettierrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
...require('@netlify/eslint-config-node/.prettierrc.json'),
3+
endOfLine: 'auto',
4+
}

commitlint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = { extends: ["@commitlint/config-conventional"] };
1+
module.exports = { extends: ['@commitlint/config-conventional'] }

0 commit comments

Comments
 (0)