-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patheslint.config.js
43 lines (41 loc) · 890 Bytes
/
eslint.config.js
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
31
32
33
34
35
36
37
38
39
40
41
42
43
import js from '@eslint/js';
import im from 'eslint-plugin-import';
import ally from 'eslint-plugin-jsx-a11y';
import react from 'eslint-plugin-react';
export default [
{
plugins: {
im,
ally,
react,
},
files: ['**.*.js'],
rules: js.configs.recommended.rules,
},
];
// {
// "extends": ["prettier"],
// "plugins": ["html", "prettier"],
// "parser": "@babel/eslint-parser",
// "parserOptions": {
// "requireConfigFile": false,
// "ecmaVersion": 6
// },
// "env": {
// "browser": true,
// "node": true,
// "jquery": true,
// "es6": true
// },
// "rules": {
// "prettier/prettier": [
// "error",
// {
// "trailingComma": "all",
// "singleQuote": true
// }
// ],
// "no-console": "off",
// "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }]
// }
// }