Created
December 22, 2021 14:56
-
-
Save GarrettWeinberg/4cae9025a001680b08722f00f0709802 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"browser": true, // Browser global variables like `window` etc. | |
"commonjs": true, // CommonJS global variables and CommonJS scoping.Allows require, exports and module. | |
"es6": true, // Enable all ECMAScript 6 features except for modules. | |
"jest": true, // Jest global variables like `it` etc. | |
"node": true // Defines things like process.env when generating through node | |
}, | |
"extends": [ | |
"plugin:react/recommended", | |
"standard", | |
"prettier", | |
"plugin:node/recommended" | |
], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"ecmaVersion": 2018, | |
"sourceType": "module" | |
}, | |
"plugins": [ | |
"prettier", | |
"react", | |
"react-hooks" | |
], | |
"rules": { | |
"prettier/prettier": "error", | |
"no-unused-vars": "warn", | |
"no-console": "off", | |
"react/prop-types": "off", | |
"func-names": "off", | |
"no-process-exit": "off", | |
"object-shorthand": "off", | |
"class-methods-use-this": "off", | |
"node/no-unsupported-features/es-syntax": [ | |
"error", | |
{ | |
"version": ">=13.0.0", | |
"ignores": [ | |
"modules" | |
] | |
} | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"devDependencies": { | |
"eslint": "^7.32.0", | |
"eslint-config-airbnb": "19.0.2", | |
"eslint-config-prettier": "^8.3.0", | |
"eslint-config-standard": "^16.0.3", | |
"eslint-plugin-import": "^2.25.3", | |
"eslint-plugin-jam3": "^0.2.3", | |
"eslint-plugin-jsx-a11y": "^6.5.1", | |
"eslint-plugin-node": "^11.1.0", | |
"eslint-plugin-prettier": "^4.0.0", | |
"eslint-plugin-promise": "^5.2.0", | |
"eslint-plugin-react": "^7.27.1", | |
"eslint-plugin-react-hooks": "^4.3.0", | |
"prettier": "^2.5.1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment