12345678910111213141516171819202122232425262728293031323334353637383940 |
- module.exports = {
- "parser": "babel-eslint",
- "env": {
- "browser": true,
- "commonjs": true,
- "es6": true,
- "node": true
- },
- "extends": "eslint:recommended",
- "parserOptions": {
- "ecmaFeatures": {
- "jsx": true
- },
- "ecmaVersion": 2018,
- "sourceType": "module"
- },
- "plugins": [
- "react"
- ],
- "rules": {
- "react/jsx-uses-react": [1],
- "react/jsx-uses-vars": [2],
- "indent": [
- "error",
- 2
- ],
- "linebreak-style": [
- "error",
- "unix"
- ],
- "quotes": [
- "error",
- "single"
- ],
- "semi": [
- "error",
- "never"
- ]
- }
- };
|