mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
57 lines
1.2 KiB
JSON
57 lines
1.2 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"amd": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react", "prettier"],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"semi": true,
|
|
"trailingComma": "es5",
|
|
"printWidth": 120,
|
|
"singleQuote": true,
|
|
"arrowParens": "always",
|
|
"proseWrap": "preserve"
|
|
}
|
|
],
|
|
"react/prop-types": 0,
|
|
"react/display-name": "off",
|
|
"no-unused-vars": ["warn", {
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_"
|
|
}],
|
|
"react/no-deprecated": 0,
|
|
"no-prototype-builtins": 0
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
},
|
|
"import/resolver": "webpack"
|
|
},
|
|
"globals": {
|
|
"fetch": true,
|
|
"process": true,
|
|
"module": true,
|
|
"__dirname": true
|
|
}
|
|
}
|