Use stock eslint
This commit is contained in:
27
.eslintrc
27
.eslintrc
@@ -1,14 +1,35 @@
|
||||
{
|
||||
"root": true,
|
||||
"extends": "airbnb",
|
||||
"extends": "eslint:recommended",
|
||||
"globals": {
|
||||
"wp": true
|
||||
},
|
||||
"env": {
|
||||
"node": true,
|
||||
"es6": true,
|
||||
"amd": true,
|
||||
"browser": true,
|
||||
"jquery": true,
|
||||
"node": true
|
||||
"jquery": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaFeatures": {
|
||||
"globalReturn": true,
|
||||
"generators": false,
|
||||
"objectLiteralDuplicateProperties": false,
|
||||
"experimentalObjectRestSpread": true
|
||||
},
|
||||
"ecmaVersion": 2017,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": [
|
||||
"import",
|
||||
],
|
||||
"settings": {
|
||||
"import/core-modules": [],
|
||||
"import/ignore": [
|
||||
"node_modules",
|
||||
"\\.(coffee|scss|css|less|hbs|svg|json)$"
|
||||
]
|
||||
},
|
||||
"rules": {
|
||||
"comma-dangle": ["error", {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"root": false,
|
||||
"extends": "airbnb",
|
||||
"rules": {
|
||||
"import/no-extraneous-dependencies": 0,
|
||||
"prefer-rest-params": 0,
|
||||
|
||||
@@ -40,11 +40,8 @@
|
||||
"css-loader": "^0.26.1",
|
||||
"cssnano": "^3.10.0",
|
||||
"eslint": "^3.13.1",
|
||||
"eslint-config-airbnb": "^14.0.0",
|
||||
"eslint-loader": "^1.6.1",
|
||||
"eslint-plugin-import": "^2.0.1",
|
||||
"eslint-plugin-jsx-a11y": "^3.0.2",
|
||||
"eslint-plugin-react": "^6.9.0",
|
||||
"extract-text-webpack-plugin": "^2.0.0-beta.4",
|
||||
"file-loader": "^0.9.0",
|
||||
"glob": "^7.1.1",
|
||||
|
||||
Reference in New Issue
Block a user