From ESLint docs.

$ eslint --init

Result:

  • .eslintrc
      {
        "rules": {
          "semi": ["error", "always"],
          "quotes": ["error", "double"]
        }
      }