Add ESLint
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
"lint": "npm run lint:ts && npm run lint:sass",
|
||||
"lint:ts": "tslint -p tsconfig.json --format stylish --exclude node_modules",
|
||||
"lint:ts:fix": "tslint -p tsconfig.json --format stylish --exclude node_modules --fix",
|
||||
"lint:es": "eslint './src/**/*.ts*'",
|
||||
"lint:es:fix": "eslint --fix './src/**/*.ts*'",
|
||||
"lint:sass": "stylelint ./src/**/**/*.scss ./src/**/*.scss ./src/*.scss",
|
||||
"start": "npm run start-dev",
|
||||
"start-dev": "webpack-dev-server --config=configs/webpack/dev.js",
|
||||
@@ -47,6 +49,8 @@
|
||||
"@types/node": "^10.14.7",
|
||||
"@types/react": "^16.8.18",
|
||||
"@types/react-dom": "^16.8.4",
|
||||
"@typescript-eslint/eslint-plugin": "^1.11.0",
|
||||
"@typescript-eslint/parser": "^1.11.0",
|
||||
"awesome-typescript-loader": "^5.2.1",
|
||||
"babel-cli": "^6.26.0",
|
||||
"babel-core": "^6.26.3",
|
||||
@@ -59,6 +63,15 @@
|
||||
"dotenv": "^6.2.0",
|
||||
"dotenv-webpack": "^1.7.0",
|
||||
"express": "^4.17.0",
|
||||
"eslint": "^6.0.1",
|
||||
"eslint-config-airbnb": "^17.1.1",
|
||||
"eslint-config-standard": "^12.0.0",
|
||||
"eslint-plugin-import": "^2.18.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-node": "^9.1.0",
|
||||
"eslint-plugin-promise": "^4.2.1",
|
||||
"eslint-plugin-react": "^7.14.2",
|
||||
"eslint-plugin-standard": "^4.0.0",
|
||||
"favicons-webpack-plugin": "0.0.9",
|
||||
"file-loader": "^1.1.11",
|
||||
"fs-extra": "^6.0.1",
|
||||
|
||||
Reference in New Issue
Block a user