UNPKG

scaffolding-nextjs

Version:

Templates that aid in the development of NextJS applications.

49 lines (48 loc) 1.18 kB
{ "env": { "browser": true, "node": true, "es6": true, "commonjs": true }, "plugins": ["react"], "extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:prettier/recommended" ], "settings": { "react": { "version": "detect" // React version. "detect" automatically picks the version you have installed. // You can also use `16.0`, `16.3`, etc, if you want to override the detected value. // default to latest and warns if missing // It will default to "detect" in the future }, "import/resolver": { "node": { "paths": ["./"] } } }, "parser": "babel-eslint", "parserOptions": { "ecmaVersion": 6, "sourceType": "module", "ecmaFeatures": { "jsx": true, "experimentalObjectRestSpread": true, "modules": true } }, "rules": { "react/prefer-stateless-function": 0, "linebreak-style": 0, "jsx-a11y/heading-has-content": 0, "jsx-a11y/href-no-hash": 0, "jsx-a11y/anchor-is-valid": 0, "no-underscore-dangle": 0, "react/no-find-dom-node": 0, "react/prop-types": 0, "no-nested-ternary": 0 } }